-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompresso.rb
More file actions
33 lines (26 loc) · 1 KB
/
compresso.rb
File metadata and controls
33 lines (26 loc) · 1 KB
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
# AUTO-GENERATED FILE. DO NOT EDIT!
cask "compresso" do
version "3.0.0"
on_arm do
url "https://github.com/codeforreal1/compressO/releases/download/#{version}/CompressO_#{version}_aarch64.dmg"
sha256 "5fe9e0b55d291328b13b867c817dd9339078f724339f01e57484972f4c088c3a"
end
on_intel do
url "https://github.com/codeforreal1/compressO/releases/download/#{version}/CompressO_#{version}_x64.dmg"
sha256 "58c586817e38614bb7cf01ae13acb69ca60bb682156da8b99447165c2c6d3090"
end
name "CompressO"
desc "Compress any video/image into a tiny size"
homepage "https://github.com/codeforreal1/compressO"
depends_on macos: ">= :ventura" # macOS 13
postflight do
system "xattr -cr com.apple.quarantine #{appdir}/CompressO.app"
end
app "CompressO.app"
zap trash: [
"~/Library/Application Support/com.compresso.app",
"~/Library/Caches/com.compresso.app",
"~/Library/Preferences/com.compresso.app.plist",
"~/Library/Saved Application State/com.compresso.app.savedState",
]
end