Don't quit Installer, Safari, System Events and System Preferences.
This commit is contained in:
parent
baaf84edd0
commit
7e6c5cf62f
|
@ -21,9 +21,6 @@ cask "blackhole-16ch" do
|
|||
must_succeed: true
|
||||
end
|
||||
|
||||
uninstall quit: [
|
||||
"com.apple.audio.AudioMIDISetup",
|
||||
"com.apple.systempreferences",
|
||||
],
|
||||
uninstall quit: "com.apple.audio.AudioMIDISetup",
|
||||
pkgutil: "audio.existential.BlackHole"
|
||||
end
|
||||
|
|
|
@ -21,9 +21,6 @@ cask "blackhole-2ch" do
|
|||
must_succeed: true
|
||||
end
|
||||
|
||||
uninstall quit: [
|
||||
"com.apple.audio.AudioMIDISetup",
|
||||
"com.apple.systempreferences",
|
||||
],
|
||||
uninstall quit: "com.apple.audio.AudioMIDISetup",
|
||||
pkgutil: "audio.existential.BlackHole"
|
||||
end
|
||||
|
|
|
@ -18,8 +18,7 @@ cask "emclient" do
|
|||
|
||||
pkg "setup.pkg"
|
||||
|
||||
uninstall quit: "application.com.apple.Safari.12886706636",
|
||||
pkgutil: "com.emclient.mail.client.pkg"
|
||||
uninstall pkgutil: "com.emclient.mail.client.pkg"
|
||||
|
||||
zap trash: [
|
||||
"~/Library/Caches/com.emclient.mail.client",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
cask "odrive" do
|
||||
version "6918"
|
||||
sha256 "9107f7634ac70cf017c889738b5bd8e3ac937bd991d5999119832d57407f0c22"
|
||||
version "6931"
|
||||
sha256 "2014d431480e849eaf1f941e893d3214c30bd86a913b8c1e84dedc572637abaa"
|
||||
|
||||
url "https://d3huse1s6vwzq6.cloudfront.net/odrivesync.#{version}.pkg",
|
||||
verified: "d3huse1s6vwzq6.cloudfront.net/"
|
||||
|
@ -18,8 +18,6 @@ cask "odrive" do
|
|||
|
||||
uninstall quit: [
|
||||
"com.oxygencloud.odrive",
|
||||
"application.com.apple.installer.1152921500312163482",
|
||||
"application.com.apple.systemevents.1152921500312199658",
|
||||
],
|
||||
pkgutil: "com.oxygen.odrive.*"
|
||||
end
|
||||
|
|
|
@ -18,8 +18,6 @@ cask "snip" do
|
|||
|
||||
uninstall quit: [
|
||||
"com.tencent.snip",
|
||||
"com.apple.systemevents",
|
||||
"com.apple.systempreferences",
|
||||
],
|
||||
pkgutil: "com.tencent.snip.Snip.pkg"
|
||||
end
|
||||
|
|
|
@ -48,6 +48,9 @@ module Check
|
|||
system_command!("/bin/launchctl", args: ["list"], print_stderr: false, sudo: sudo)
|
||||
.stdout
|
||||
.lines.drop(1)
|
||||
.reject do |id|
|
||||
id.match?(/\A(?:application\.)?com\.apple\.(installer|Safari|systemevents|systempreferences)(?:\.|$)/)
|
||||
end
|
||||
end
|
||||
|
||||
[false, true]
|
||||
|
|
Loading…
Reference in New Issue