32 lines
990 B
Ruby
32 lines
990 B
Ruby
cask "soundsource" do
|
|
version "5.6.3"
|
|
sha256 :no_check
|
|
|
|
url "https://rogueamoeba.com/soundsource/download/SoundSource.zip"
|
|
name "SoundSource"
|
|
desc "Sound and audio controller"
|
|
homepage "https://rogueamoeba.com/soundsource/"
|
|
|
|
# NOTE: The `system` value will need to be kept up to date with the latest
|
|
# macOS version (e.g. 1441 for 14.4.1).
|
|
livecheck do
|
|
url "https://rogueamoeba.net/ping/versionCheck.cgi?format=sparkle&system=1441&bundleid=com.rogueamoeba.soundsource&platform=osx&version=#{version.no_dots}8000"
|
|
strategy :sparkle
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :big_sur"
|
|
|
|
app "SoundSource.app"
|
|
|
|
uninstall quit: "com.rogueamoeba.soundsource"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/SoundSource",
|
|
"~/Library/Caches/com.rogueamoeba.soundsource",
|
|
"~/Library/HTTPStorages/com.rogueamoeba.soundsource",
|
|
"~/Library/Preferences/com.rogueamoeba.soundsource.plist",
|
|
"~/Library/WebKit/com.rogueamoeba.soundsource",
|
|
]
|
|
end
|