diff options
author | Vojtech Bubnik <bubnikv@gmail.com> | 2021-03-11 14:22:06 +0300 |
---|---|---|
committer | Vojtech Bubnik <bubnikv@gmail.com> | 2021-03-15 11:55:57 +0300 |
commit | 2b1970872078166f24289342594a16d5c0f8bac8 (patch) | |
tree | c949ccaef0f7f1a53959f3a7219d6f1a4b60580a /src/slic3r/GUI/RemovableDriveManager.cpp | |
parent | 9c80c6a4af809c009c98225d8a79472b4dad73d2 (diff) |
Further ChromeOS support: Detect removable media mounted through ChromeOS
Diffstat (limited to 'src/slic3r/GUI/RemovableDriveManager.cpp')
-rw-r--r-- | src/slic3r/GUI/RemovableDriveManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slic3r/GUI/RemovableDriveManager.cpp b/src/slic3r/GUI/RemovableDriveManager.cpp index a1247f3a0..85d91382a 100644 --- a/src/slic3r/GUI/RemovableDriveManager.cpp +++ b/src/slic3r/GUI/RemovableDriveManager.cpp @@ -247,6 +247,9 @@ std::vector<DriveData> RemovableDriveManager::search_for_removable_drives() cons path = "/run" + path; pp = "/run"+pp; search_for_drives_internal::search_path(path, pp, current_drives); + + // ChromeOS specific: search /mnt/chromeos/removable/* folder + search_for_drives_internal::search_path("/mnt/chromeos/removable/*", "/mnt/chromeos/removable", current_drives); #endif return current_drives; |