You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
[macOS] Return exit code specified by OS.exit_code parameter.
This commit is contained in:
@@ -84,5 +84,5 @@ int main(int argc, char **argv) {
|
||||
os.run(); // it is actually the OS that decides how to run
|
||||
Main::cleanup();
|
||||
|
||||
return 0;
|
||||
return os.get_exit_code();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user