Casks/m/mist.rb
cask "mist" do
version "0.20"
sha256 "1e78cba40f2b49e015644b0cbd992576054e79bd0a7aa7a8c86b2338f33bc1c3"
url "https://github.com/ninxsoft/Mist/releases/download/v#{version}/Mist.#{version}.pkg"
name "Mist"
desc "Utility that automatically downloads firmwares and installers"
homepage "https://github.com/ninxsoft/Mist"
auto_updates true
depends_on macos: ">= :monterey"
pkg "Mist.#{version}.pkg"
uninstall launchctl: "com.ninxsoft.mist.helper",
quit: [
"com.ninxsoft.mist",
"com.ninxsoft.mist.helper",
],
pkgutil: "com.ninxsoft.pkg.mist",
delete: [
"/Library/LaunchDaemons/com.ninxsoft.mist.helper.plist",
"/Library/PrivilegedHelperTools/com.ninxsoft.mist.helper",
]
zap trash: [
"/Users/Shared/Mist",
"~/Library/Caches/com.ninxsoft.mist",
"~/Library/Preferences/com.ninxsoft.mist.plist",
"~/Library/Saved Application State/com.ninxsoft.mist.savedState",
]
end