Resolve Layout/RescueEnsureAlignment violations (#141556)
* Resolve Layout/RescueEnsureAlignment violations in blurscreen * Resolve Layout/RescueEnsureAlignment violations in gamemaker * Resolve Layout/RescueEnsureAlignment violations in trader-workstation * Resolve Layout/RescueEnsureAlignment violations in virtual-desktop-streamer * Resolve Layout/RescueEnsureAlignment violations in zoom * Update gamemaker.rb * Update trader-workstation.rb --------- Co-authored-by: Miccal Matthews <miccal.matthews@gmail.com>
This commit is contained in:
parent
527183a7ad
commit
fd09144447
|
@ -26,10 +26,10 @@ cask "blurscreen" do
|
|||
ohai "Attempting to close BlurScreen.app to avoid unwanted user intervention" unless retries < 3
|
||||
return unless system_command "/usr/bin/pkill", args: ["-f", "/Applications/BlurScreen.app"]
|
||||
|
||||
rescue RuntimeError
|
||||
sleep 1
|
||||
retry unless (retries -= 1).zero?
|
||||
opoo "Unable to forcibly close BlurScreen.app"
|
||||
rescue RuntimeError
|
||||
sleep 1
|
||||
retry unless (retries -= 1).zero?
|
||||
opoo "Unable to forcibly close BlurScreen.app"
|
||||
end
|
||||
|
||||
uninstall quit: "com.sanskar.blurscreen",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
cask "gamemaker" do
|
||||
version "2023.1.0.58"
|
||||
sha256 "da3d59046f74fb1338937c755d764151dd77f6fd08c4c710a6b19c837d26f08c"
|
||||
version "2023.1.1.62"
|
||||
sha256 "af201be480e440e27cdccd6be02e2aea5b356a67f309eb7cb85d8a9f0b7230d3"
|
||||
|
||||
url "https://gms.yoyogames.com/GameMaker-#{version}.pkg",
|
||||
verified: "gms.yoyogames.com/"
|
||||
|
@ -24,10 +24,10 @@ cask "gamemaker" do
|
|||
ohai "Attempting to close com.yoyogames.gms2 to avoid unwanted user intervention" unless retries < 3
|
||||
return unless system_command "/usr/bin/pkill", args: ["-f", "/Applications/GameMaker.app"]
|
||||
|
||||
rescue RuntimeError
|
||||
sleep 1
|
||||
retry unless (retries -= 1).zero?
|
||||
opoo "Unable to forcibly close GameMaker.app"
|
||||
rescue RuntimeError
|
||||
sleep 1
|
||||
retry unless (retries -= 1).zero?
|
||||
opoo "Unable to forcibly close GameMaker.app"
|
||||
end
|
||||
|
||||
uninstall delete: "/Applications/GameMaker.app",
|
||||
|
|
|
@ -2,7 +2,7 @@ cask "trader-workstation" do
|
|||
arch arm: "arm", intel: "x64"
|
||||
os = on_arch_conditional arm: "macos", intel: "macosx"
|
||||
|
||||
version "10.21.1n"
|
||||
version "10.21.1o"
|
||||
sha256 :no_check
|
||||
|
||||
url "https://download2.interactivebrokers.com/installers/tws/latest/tws-latest-#{os}-#{arch}.dmg"
|
||||
|
@ -24,8 +24,8 @@ cask "trader-workstation" do
|
|||
ohai "Stopping all running instances of Trader Workstation prior to uninstall"
|
||||
system_command "/usr/bin/pkill", args: ["-f", "/Applications/Trader Workstation/Trader Workstation.app"]
|
||||
|
||||
rescue RuntimeError
|
||||
ohai "No running instances of Trader Workstation found"
|
||||
rescue RuntimeError
|
||||
ohai "No running instances of Trader Workstation found"
|
||||
end
|
||||
|
||||
uninstall quit: "com.install4j.5889-6375-8446-2021",
|
||||
|
|
|
@ -20,10 +20,10 @@ cask "virtual-desktop-streamer" do
|
|||
ohai "Attempting to close the Streamer app to avoid unwanted user intervention" unless retries < 3
|
||||
return unless system_command "/usr/bin/pkill", args: ["-f", "/Applications/Virtual Desktop Streamer.app"]
|
||||
|
||||
rescue RuntimeError
|
||||
sleep 1
|
||||
retry unless (retries -= 1).zero?
|
||||
opoo "Unable to forcibly close Virtual Desktop Streamer"
|
||||
rescue RuntimeError
|
||||
sleep 1
|
||||
retry unless (retries -= 1).zero?
|
||||
opoo "Unable to forcibly close Virtual Desktop Streamer"
|
||||
end
|
||||
|
||||
uninstall quit: "com.virtualDesktopInc.Mac.Streamer",
|
||||
|
|
|
@ -29,10 +29,10 @@ cask "zoom" do
|
|||
ohai "Attempting to close zoom.us.app to avoid unwanted user intervention" unless retries < 3
|
||||
return unless system_command "/usr/bin/pkill", args: ["-f", "/Applications/zoom.us.app"]
|
||||
|
||||
rescue RuntimeError
|
||||
sleep 1
|
||||
retry unless (retries -= 1).zero?
|
||||
opoo "Unable to forcibly close zoom.us.app"
|
||||
rescue RuntimeError
|
||||
sleep 1
|
||||
retry unless (retries -= 1).zero?
|
||||
opoo "Unable to forcibly close zoom.us.app"
|
||||
end
|
||||
|
||||
uninstall signal: ["KILL", "us.zoom.xos"],
|
||||
|
|
Loading…
Reference in New Issue