summaryrefslogtreecommitdiff
path: root/platform/osx
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2019-04-07 15:46:52 -0300
committerJuan Linietsky <reduzio@gmail.com>2019-04-07 15:45:30 -0300
commitcd4449e7abe97b2bc883e2d182db2cc41eb35f8c (patch)
tree2498bac08105314c5defedde82141430e01ffd0c /platform/osx
parent65f3a953de3db4406f099d014acbc630f53eca9c (diff)
Add FileAccess::set_unix_permissions for Unix platforms
Diffstat (limited to 'platform/osx')
-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 {