-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
acronis-true-image 41592: implement zap stanza
Uses `acronis-true-image-cleanup-tool`
- Loading branch information
Valentin Kulesh
committed
Nov 5, 2024
1 parent
2e7159f
commit 6b9f8e6
Showing
1 changed file
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,28 @@ | ||
cask "acronis-true-image" do | ||
version "2021" | ||
sha256 :no_check # required as upstream package is updated in-place | ||
version "41592" | ||
sha256 "304335d0e8e26bc46571e6926baf20da0f2d694f20a8728c7f220236d1ed29c2" | ||
|
||
url "https://dl.acronis.com/u/AcronisTrueImage#{version}.dmg" | ||
url "https://dl.acronis.com/u/AcronisTrueImage_#{version}.dmg" | ||
name "Acronis True Image" | ||
desc "Full image backup and cloning software" | ||
homepage "https://www.acronis.com/personal/computer-backup/" | ||
homepage "https://www.acronis.com/products/true-image/" | ||
|
||
deprecate! date: "2024-02-07", because: :discontinued | ||
livecheck do | ||
url "https://www.acronis.com/en-us/support/updates/changes.html?p=42798" | ||
regex(%r{<span class="build">Build</span><span class="build-number"> (.+?)</span>}) | ||
end | ||
|
||
pkg "Install Acronis True Image.pkg" | ||
auto_updates true | ||
depends_on macos: ">= :big_sur" | ||
depends_on cask: "acronis-true-image-cleanup-tool" | ||
|
||
uninstall pkgutil: "com.acronis.trueimageformac", | ||
pkg "Installer.pkg" | ||
|
||
uninstall pkgutil: "com.acronis.CyberProtectHomeOffice", | ||
delete: "/Applications/Acronis True Image.app" | ||
|
||
zap script: { | ||
executable: "#{HOMEBREW_PREFIX}/lib/acronis-true-image/cleanup_tool", | ||
sudo: true, | ||
} | ||
end |