mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-16 16:24:33 +00:00
Merge pull request #26626 from rluders/misleading-error-message-export
Fixing misleading error message when trying to export
This commit is contained in:
@@ -836,6 +836,10 @@ Error EditorExportPlatformIOS::export_project(const Ref<EditorExportPreset> &p_p
|
||||
}
|
||||
}
|
||||
|
||||
if (!FileAccess::exists(dest_dir)) {
|
||||
return ERR_FILE_BAD_PATH;
|
||||
}
|
||||
|
||||
DirAccess *da = DirAccess::create(DirAccess::ACCESS_FILESYSTEM);
|
||||
if (da) {
|
||||
String current_dir = da->get_current_dir();
|
||||
|
||||
Reference in New Issue
Block a user