You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Add FileAccess::set_unix_permissions for Unix platforms
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user