cask "jiba" do version "2.0.0,77" sha256 :no_check # required as upstream package can be updated in-place url "https://hee.ink/updates/stable/JiBA-#{version.csv.first}.dmg" name "JiBA" desc "Apple Music metadata localisation tool" homepage "https://jiba.hee.ink/" livecheck do url "https://hee.ink/updates/stable/appcast.xml" strategy :sparkle end auto_updates true depends_on macos: :sonoma app "JiBA.app" uninstall quit: "ink.hee.jibapplemusic" zap trash: [ "~/.jibam", "~/Library/Application Support/CrashReporter/JiBA_*.plist", "~/Library/Application Support/CrashReporter/jiba_duplicate_guard_harness_*.plist", "~/Library/Application Support/JiBA", "~/Library/Caches/com.apple.helpd/Generated/com.hee.jiba.help*", "~/Library/Caches/ink.hee.jibapplemusic", "~/Library/HTTPStorages/ink.hee.jibapplemusic", "~/Library/Preferences/ink.hee.jibapplemusic.plist", "~/Library/Preferences/JiBA.plist", "~/Library/Preferences/JIBAppleMusicGUI.plist", "~/Library/Saved Application State/ink.hee.jibapplemusic.savedState", ] end