-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
/
Copy pathastropad-studio.rb
34 lines (28 loc) · 1.21 KB
/
astropad-studio.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
cask "astropad-studio" do
version "5.4.0,4871"
sha256 "848410ce10a2139466fe4ed19437a7f6d92b44733e50e4e681433dcadc3d9f80"
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
depends_on macos: ">= :high_sierra"
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