Skip to content

Commit

Permalink
winclone: update uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
bevanjkay committed Oct 20, 2024
1 parent 14c2a4b commit 88b46b1
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Casks/w/winclone.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@

pkg "Winclone.pkg"

uninstall_preflight do
system_command "/usr/sbin/installer",
args: ["-pkg", "#{staged_path}/Uninstaller/Uninstall Winclone.pkg", "-target", "/"],
sudo: true,
sudo_as_root: true
end

uninstall signal: ["TERM", "com.twocanoes.Winclone#{version.major}"],
script: {
executable: "/usr/sbin/installer",
args: ["-pkg", "#{staged_path}/Uninstaller/Uninstall Winclone.pkg", "-target", "/"],
sudo: true,
must_succeed: false,
},
pkgutil: "com.twocanoes.pkg.Winclone*"

zap trash: [
Expand Down

0 comments on commit 88b46b1

Please sign in to comment.