aboutsummaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRémi Verschelde2017-07-08 13:35:45 +0200
committerGitHub2017-07-08 13:35:45 +0200
commitf76e1ef2b0749a2c31fad73ca4bf6d225c1d2bb7 (patch)
tree6cc6f9709756c61f26e5e4e0c93bbe7197159571 /platform
parent84de71872ff2f3d0e7b53229fedb8765a8e820eb (diff)
parentae544b227e332902ae584a0357b5ba2d4484672b (diff)
downloadgodot-f76e1ef2b0749a2c31fad73ca4bf6d225c1d2bb7.tar.gz
godot-f76e1ef2b0749a2c31fad73ca4bf6d225c1d2bb7.tar.zst
godot-f76e1ef2b0749a2c31fad73ca4bf6d225c1d2bb7.zip
Merge pull request #9558 from BastiaanOlij/no_chmod_ios_win
Only execute chmod exporting iOS when on Mac OS X
Diffstat (limited to 'platform')
-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);