diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-07-08 13:35:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-08 13:35:45 +0200 |
commit | f76e1ef2b0749a2c31fad73ca4bf6d225c1d2bb7 (patch) | |
tree | 6cc6f9709756c61f26e5e4e0c93bbe7197159571 | |
parent | 84de71872ff2f3d0e7b53229fedb8765a8e820eb (diff) | |
parent | ae544b227e332902ae584a0357b5ba2d4484672b (diff) |
Merge pull request #9558 from BastiaanOlij/no_chmod_ios_win
Only execute chmod exporting iOS when on Mac OS X
-rw-r--r-- | platform/iphone/export/export.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/iphone/export/export.cpp b/platform/iphone/export/export.cpp index ec8470518a..0960ec8791 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); |