homebrew-cask/Casks/a/astropad-studio.rb

34 lines
1.2 KiB
Ruby

cask "astropad-studio" do
version "5.3.3,4771"
sha256 "a8796135f96b022acf45dee6cd8ba70a8c1550fbe21d367ae608a5182add78fc"
url "https://downloads.astropad.com/studio/mac/AstropadStudio-#{version.csv.first}.#{version.csv.second}.dmg"
name "Astropad Studio"
desc "Turn your iPad into a professional drawing tablet"
homepage "https://astropad.com/"
livecheck do
url "https://downloads.astropad.com/studio/mac/sparkle.xml"
strategy :sparkle
end
auto_updates true
app "Astropad Studio.app"
uninstall quit: "com.astro-hq.AstropadStudioMac"
zap trash: [
"~/Library/Application Support/astro-hq/AstropadStudio",
"~/Library/Application Support/com.astro-hq.AstropadStudioMac",
"~/Library/Caches/Astropad",
"~/Library/Caches/com.astro-hq.AstropadStudioMac",
"~/Library/Caches/SentryCrash/Astropad Studio",
"~/Library/HTTPStorages/com.astro-hq.AstropadStudioMac",
"~/Library/Logs/Astropad",
"~/Library/Preferences/com.astro-hq.AstropadStudioMac.plist",
"~/Library/Saved Application State/com.astro-hq.AstropadStudioMac.savedState",
],
rmdir: "~/Library/Application Support/astro-hq"
end