mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-09 03:12:26 +00:00
osx search for drives
This commit is contained in:
1 parent
2ecc8a1b6f
commit
14fdf429ea
1 file changed
+3
@@ -148,6 +148,9 @@ void RemovableDriveManager::search_for_drives()
|
|||||||
//search /media/* folder
|
//search /media/* folder
|
||||||
search_path("/media/*", "/media");
|
search_path("/media/*", "/media");
|
||||||
|
|
||||||
|
//search /Volumes/* folder (OSX)
|
||||||
|
search_path("/Volumes/*", "/Volumes");
|
||||||
|
|
||||||
std::string path(std::getenv("USER"));
|
std::string path(std::getenv("USER"));
|
||||||
std::string pp(path);
|
std::string pp(path);
|
||||||
//std::cout << "user: "<< path << "\n";
|
//std::cout << "user: "<< path << "\n";
|
||||||
|
|||||||
Reference in new issue
Block a user