New input system

This commit is contained in:
Ethanscharlie committed 2026-08-20 11:53:20 -06:00
1 parent 280c84ac6e
commit 070e583bd2
5 files changed
+41 -6

No files matched your search

+12
View File
@@ -149,3 +149,15 @@ auto autoDetermineRip(const std::string& musicFolder, const std::string& url) ->
return false;
}
auto musicFolder() -> std::string {
#ifdef _WIN32
const char* userProfile = std::getenv("USERPROFILE");
if (userProfile) return std::filesystem::path(userProfile) / "Music";
#else
const char* home = std::getenv("HOME");
if (home) return std::filesystem::path(home) / "Music";
#endif
return "";
}