aboutsummaryrefslogtreecommitdiff
path: root/platform/iphone/export/export.cpp
diff options
context:
space:
mode:
authorBastiaanOlij2017-07-08 21:32:02 +1000
committerBastiaanOlij2017-07-08 21:32:02 +1000
commitae544b227e332902ae584a0357b5ba2d4484672b (patch)
tree6cc6f9709756c61f26e5e4e0c93bbe7197159571 /platform/iphone/export/export.cpp
parent84de71872ff2f3d0e7b53229fedb8765a8e820eb (diff)
downloadgodot-ae544b227e332902ae584a0357b5ba2d4484672b.tar.gz
godot-ae544b227e332902ae584a0357b5ba2d4484672b.tar.zst
godot-ae544b227e332902ae584a0357b5ba2d4484672b.zip
Diffstat (limited to 'platform/iphone/export/export.cpp')
-rw-r--r--platform/iphone/export/export.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/iphone/export/export.cpp b/platform/iphone/export/export.cpp
index ec8470518..0960ec879 100644
--- a/platform/iphone/export/export.cpp
+++ b/platform/iphone/export/export.cpp
@@ -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);