osx search for drives

This commit is contained in:
David Kocik
2019-12-04 10:05:18 +01:00
parent cd3e0c18f8
commit 7b4b6abdeb

View File

@@ -148,6 +148,9 @@ void RemovableDriveManager::search_for_drives()
//search /media/* folder
search_path("/media/*", "/media");
//search /Volumes/* folder (OSX)
search_path("/Volumes/*", "/Volumes");
std::string path(std::getenv("USER"));
std::string pp(path);
//std::cout << "user: "<< path << "\n";