Use write_exec_script

This commit is contained in:
Sam Bishop
2023-12-28 17:17:23 -08:00
parent 62a251cd94
commit b08ec53610
+2 -1
View File
@@ -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"