You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Only execute chmod exporting iOS when on Mac OS X
This commit is contained in:
@@ -260,10 +260,12 @@ Error EditorExportPlatformIOS::export_project(const Ref<EditorExportPreset> &p_p
|
||||
f->close();
|
||||
memdelete(f);
|
||||
|
||||
#ifdef OSX_ENABLED
|
||||
if (is_execute) {
|
||||
// we need execute rights on this file
|
||||
chmod(file.utf8().get_data(), 0755);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
ret = unzGoToNextFile(src_pkg_zip);
|
||||
|
||||
Reference in New Issue
Block a user