Skip to content

Commit

Permalink
acronis-true-image 29.1,41592: improve uninstall and implement zap
Browse files Browse the repository at this point in the history
Uses `acronis-true-image-cleanup-tool`
  • Loading branch information
Valentin Kulesh committed Nov 13, 2024
1 parent aa8e29d commit 5da332e
Showing 1 changed file with 41 additions and 3 deletions.
44 changes: 41 additions & 3 deletions Casks/a/acronis-true-image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,51 @@

auto_updates true
depends_on macos: ">= :big_sur"
depends_on cask: "acronis-true-image-cleanup-tool"

pkg "Installer.pkg"

uninstall pkgutil: "com.acronis.CyberProtectHomeOffice",
delete: "/Applications/Acronis True Image.app"
uninstall launchctl: [
"com.acronis.aakore",
"com.acronis.acep",
"com.acronis.acroprld_client",
"com.acronis.active_protection",
"com.acronis.cyber-protect-service",
"com.acronis.escyberprotect",
"com.acronis.helpertool",
"com.acronis.mms_mini",
"com.acronis.mobile_backup_server",
"com.acronis.mobile_backup_status_server",
"com.acronis.monitor",
"com.acronis.scheduler",
],
quit: [
"com.acronis.CyberProtectHomeOffice",
"com.acronis.CyberProtectHomeOffice.FinderSyncExt",
"com.acronis.CyberProtectHomeOffice.help",
"com.acronis.CyberProtectHomeOffice.monitor",
"com.acronis.escyberprotect",
],
signal: [
["TERM", "com.acronis.CyberProtectHomeOffice"],
["TERM", "com.acronis.CyberProtectHomeOffice.FinderSyncExt"],
["TERM", "com.acronis.CyberProtectHomeOffice.help"],
["TERM", "com.acronis.CyberProtectHomeOffice.monitor"],
["TERM", "com.acronis.escyberprotect"],
["KILL", "com.acronis.CyberProtectHomeOffice"],
["KILL", "com.acronis.CyberProtectHomeOffice.FinderSyncExt"],
["KILL", "com.acronis.CyberProtectHomeOffice.help"],
["KILL", "com.acronis.CyberProtectHomeOffice.monitor"],
["KILL", "com.acronis.escyberprotect"],
],
pkgutil: "com.acronis.CyberProtectHomeOffice",
delete: "/Applications/Acronis True Image.app"

zap delete: [
zap script: {
executable: "#{HOMEBREW_PREFIX}/lib/acronis-true-image/cleanup_tool",
sudo: true,
},
delete: [
"/Library/Application Support/Acronis",
"/Library/Application Support/BackupClient",
"/Library/PrivilegedHelperTools/com.acronis.helpertool",
Expand Down

0 comments on commit 5da332e

Please sign in to comment.