Files

30 lines
966 B
Ruby
Raw Permalink Normal View History

2023-05-04 04:17:44 +09:00
cask "entry" do
2024-03-04 09:06:21 -05:00
version "2.1.12"
sha256 "ee07d59d2cc141d704627ff6f4198789034d38627edfcd9ee0ed15f677a26f6d"
2023-05-04 04:17:44 +09:00
url "https://playentry.org/uploads/data/installers/Entry-#{version}.pkg"
name "entry"
desc "Block-based coding platform"
homepage "https://playentry.org/"
2023-11-20 15:29:36 -05:00
# The download page (https://playentry.org/download/offline) fetches the
# version information from https://playentry.org/graphql using a `POST`
# request but livecheck can't do that yet. We check GitHub releases as a best
# guess of when a new version is released.
2023-05-04 04:17:44 +09:00
livecheck do
2023-11-20 15:29:36 -05:00
url "https://github.com/entrylabs/entry-offline"
2023-05-04 04:17:44 +09:00
strategy :github_latest
end
pkg "Entry-#{version}.pkg"
uninstall pkgutil: "org.playentry.entry"
zap trash: [
"~/Library/Application Support/Entry",
"~/Library/Application Support/entry-hw",
"~/Library/Preferences/org.playentry.entry.plist",
"~/Library/Saved Application State/org.playentry.entry.savedState",
]
end