Files
homebrew-cask/Casks/o/onionshare.rb
Mike McQuaid 326c44e93a o*: move to o/ subdirectory.
Continuing the sharding work now that `orka.rb` was moved without issue.
2023-08-07 17:35:26 +01:00

23 lines
663 B
Ruby

cask "onionshare" do
version "2.6"
sha256 "eb6cfd17003fbcbde9da49d7bfb18c9bd54ff901568c2f21af3b2482844982e1"
url "https://onionshare.org/dist/#{version}/OnionShare-#{version}.dmg"
name "OnionShare"
desc "Securely and anonymously share files, host websites, and chat with friends"
homepage "https://onionshare.org/"
livecheck do
url :homepage
regex(/href=.*?OnionShare[._-]v?(\d+(?:\.\d+)+)\.dmg/i)
end
app "OnionShare.app"
zap trash: [
"~/Library/Application Support/OnionShare",
"~/Library/Preferences/org.onionshare.onionshare.plist",
"~/Library/Saved Application State/org.onionshare.onionshare.savedState",
]
end