Merge pull request #26626 from rluders/misleading-error-message-export
Fixing misleading error message when trying to export
This commit is contained in:
commit
2e79ec973f
7 changed files with 29 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue