Skip to content

Commit

Permalink
Run godot from the app package on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Nhật Minh authored and macalimlim committed Nov 22, 2022
1 parent 2cb1b39 commit c85076b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ run_task = "run-godot"

[tasks.run-for-macos]
dependencies = ["build-x86_64-apple-darwin-debug"]
run_task = "run-godot"
run_task = "run-godot-macos"

[tasks.run-for-windows]
# dependencies = ["build-i686-pc-windows-gnu-debug"]
Expand All @@ -239,6 +239,13 @@ cd ../godot/
godot -d
'''

[tasks.run-godot-macos]
script_runner = "@shell"
script = '''
cd ../godot/
/Applications/Godot.app/Contents/MacOS/Godot -d
'''

[tasks.run]
run_task = [
{ name = "run-for-windows", condition = { platforms = ["windows"] } },
Expand Down

0 comments on commit c85076b

Please sign in to comment.