New input system

This commit is contained in:
2026-08-20 11:53:20 -06:00
parent 280c84ac6e
commit 070e583bd2
5 changed files with 41 additions and 6 deletions
+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 "";
}