Only execute chmod exporting iOS when on Mac OS X
This commit is contained in:
parent
84de71872f
commit
ae544b227e
|
@ -260,10 +260,12 @@ Error EditorExportPlatformIOS::export_project(const Ref<EditorExportPreset> &p_p
|
||||||
f->close();
|
f->close();
|
||||||
memdelete(f);
|
memdelete(f);
|
||||||
|
|
||||||
|
#ifdef OSX_ENABLED
|
||||||
if (is_execute) {
|
if (is_execute) {
|
||||||
// we need execute rights on this file
|
// we need execute rights on this file
|
||||||
chmod(file.utf8().get_data(), 0755);
|
chmod(file.utf8().get_data(), 0755);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = unzGoToNextFile(src_pkg_zip);
|
ret = unzGoToNextFile(src_pkg_zip);
|
||||||
|
|
Loading…
Reference in a new issue