diff --git a/Casks/g/godot-mono.rb b/Casks/g/godot-mono.rb index 06d7dab002..c8bc7c5ff8 100644 --- a/Casks/g/godot-mono.rb +++ b/Casks/g/godot-mono.rb @@ -18,7 +18,8 @@ cask "godot-mono" do depends_on macos: ">= :sierra" app "Godot_mono.app" - binary "#{appdir}/Godot_mono.app/Contents/MacOS/Godot", target: "godot-mono" + + bin.write_exec_script "#{appdir}/Godot_mono.app/Contents/MacOS/Godot", target: "godot-mono" uninstall quit: "org.godotengine.godot"