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

lingon-x: convert to on_system blocks #138618

Merged
merged 1 commit into from
Dec 28, 2022
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
20 changes: 15 additions & 5 deletions Casks/lingon-x.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
cask "lingon-x" do
if MacOS.version <= :high_sierra
on_high_sierra :or_older do
version "6.6.5"
sha256 "b0231b1a98dcc8f5c4234b419c9f5331407b8cce29b33f0ea2e32b12595adfa8"
elsif MacOS.version <= :big_sur
end
on_mojave do
version "8.4.9"
sha256 "c1c839e8dc13bd295f2080980c5bea22299c33f3333b7c6981161b46d6f021d8"
end
on_catalina do
version "8.4.9"
sha256 "c1c839e8dc13bd295f2080980c5bea22299c33f3333b7c6981161b46d6f021d8"
else
end
on_big_sur do
version "8.4.9"
sha256 "c1c839e8dc13bd295f2080980c5bea22299c33f3333b7c6981161b46d6f021d8"
end
on_monterey :or_newer do
version "9.1.2"
sha256 "9b522288fac8acd43cd48012bce490953e898f3d7c1fa39d32087a296c95c7f5"
end
Expand All @@ -25,8 +35,8 @@
app "Lingon X.app"

zap trash: [
"~/Library/Application Scripts/com.peterborgapps.LingonX#{version.major}",
"~/Library/Application Scripts/com.peterborgapps.LingonX*",
"~/Library/Application Support/Lingon X",
"~/Library/Containers/com.peterborgapps.LingonX#{version.major}",
"~/Library/Containers/com.peterborgapps.LingonX*",
]
end