33 lines
1.2 KiB
Ruby
33 lines
1.2 KiB
Ruby
cask "soulver" do
|
|
version "3.5.3,238"
|
|
sha256 "725cfec7ae43d0b77aa500b38493154d138feaf71b4b3b89598eb62f13779921"
|
|
|
|
url "https://soulver.app/mac/sparkle/soulver-#{version.before_comma}-#{version.after_comma}.zip"
|
|
name "Soulver"
|
|
desc "Notepad with a built-in calculator"
|
|
homepage "https://soulver.app/"
|
|
|
|
livecheck do
|
|
url "https://soulver.app/mac/sparkle/appcast.xml"
|
|
strategy :sparkle
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :mojave"
|
|
|
|
app "Soulver #{version.major}.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Scripts/app.soulver.mac.QuicklookInSpotlight",
|
|
"~/Library/Application Support/app.soulver.mac",
|
|
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/app.soulver.mac.sfl2",
|
|
"~/Library/Application Support/Soulver #{version.major}",
|
|
"~/Library/Caches/app.soulver.mac",
|
|
"~/Library/Containers/app.soulver.mac.QuicklookInSpotlight",
|
|
"~/Library/Group Containers/group.app.soulver",
|
|
"~/Library/HTTPStorages/app.soulver.mac.binarycookies",
|
|
"~/Library/Preferences/app.soulver.mac.plist",
|
|
"~/Library/Saved Application State/app.soulver.mac.savedState",
|
|
]
|
|
end
|