You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Implement get_filesystem_type on macOS and Linux.
This commit is contained in:
@@ -3660,7 +3660,7 @@ EditorFileSystem::EditorFileSystem() {
|
||||
|
||||
// This should probably also work on Unix and use the string it returns for FAT32 or exFAT
|
||||
Ref<DirAccess> da = DirAccess::create(DirAccess::ACCESS_RESOURCES);
|
||||
using_fat32_or_exfat = (da->get_filesystem_type() == "FAT32" || da->get_filesystem_type() == "exFAT");
|
||||
using_fat32_or_exfat = (da->get_filesystem_type() == "FAT32" || da->get_filesystem_type() == "EXFAT");
|
||||
|
||||
scan_total = 0;
|
||||
ResourceSaver::set_get_resource_id_for_path(_resource_saver_get_resource_id_for_path);
|
||||
|
||||
Reference in New Issue
Block a user