Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

acronis-true-image 41592: improve uninstall and implement zap #190984

Merged
merged 1 commit into from
Nov 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"],
],
bevanjkay marked this conversation as resolved.
Show resolved Hide resolved
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
Loading