summaryrefslogtreecommitdiff
path: root/platform/osx/export/export.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-04-23 17:39:23 +0200
committerGitHub <noreply@github.com>2019-04-23 17:39:23 +0200
commit6098a7f1914f64c77d689f54d5432095911b744f (patch)
treebf07da3b3177f3d104ecb5a66a7dc24b207fb08a /platform/osx/export/export.cpp
parentb0da7b66ce278179eedd0e21dae1d84ed3f4459d (diff)
parentdd03dcbd5a1d4a23d4fb3aa41da0c91fe2c5eda5 (diff)
Merge pull request #27781 from reduz/new_android_export
Android now (optionally) builds the template when exporting
Diffstat (limited to 'platform/osx/export/export.cpp')
-rw-r--r--platform/osx/export/export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/osx/export/export.cpp b/platform/osx/export/export.cpp
index 5e94bc457b..1a63d6ff75 100644
--- a/platform/osx/export/export.cpp
+++ b/platform/osx/export/export.cpp
@@ -568,7 +568,7 @@ Error EditorExportPlatformOSX::export_project(const Ref<EditorExportPreset> &p_p
f->close();
if (is_execute) {
// Chmod with 0755 if the file is executable
- f->_chmod(file, 0755);
+ FileAccess::set_unix_permissions(file, 0755);
}
memdelete(f);
} else {