mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 22:21:18 +00:00
Add FileAccess::set_unix_permissions for Unix platforms
This commit is contained in:
parent
65f3a953de
commit
cd4449e7ab
23 changed files with 140 additions and 12 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue