diff --git a/Casks/g/gamemaker.rb b/Casks/g/gamemaker.rb index 3a88bdf588..ff5640db64 100644 --- a/Casks/g/gamemaker.rb +++ b/Casks/g/gamemaker.rb @@ -23,7 +23,6 @@ cask "gamemaker" do ohai "The GameMaker package postinstall script launches the GameMaker app" if retries >= 3 ohai "Attempting to close com.yoyogames.gms2 to avoid unwanted user intervention" if retries >= 3 return unless system_command "/usr/bin/pkill", args: ["-f", "/Applications/GameMaker.app"] - rescue RuntimeError sleep 1 retry unless (retries -= 1).zero?