homebrew-cask/Casks/d/descript.rb

34 lines
1.1 KiB
Ruby

cask "descript" do
arch arm: "-arm64"
version "78.2.5-release.20231211.30426"
sha256 arm: "3db85c5cbbbb8cfa29d0d40b53e1800a3e7f5a27c831ab04e55db47c46c4c072",
intel: "6141564b47e5c7ccd3ca48ff18335c8704c2e2cef75d63d44b896c14559dd4fc"
url "https://electron.descript.com/Descript-#{version}#{arch}.dmg"
name "Descript"
desc "Audio and video editor"
homepage "https://www.descript.com/"
livecheck do
url "https://electron.descript.com/master-mac.yml"
strategy :electron_builder
end
auto_updates true
app "Descript.app"
zap trash: [
"~/Library/Application Support/Descript",
"~/Library/Caches/com.descript.beachcube",
"~/Library/Caches/com.descript.beachcube.ShipIt",
"~/Library/Caches/com.descript.Descript-Installer",
"~/Library/Preferences/com.descript.beachcube.plist",
"~/Library/Preferences/com.descript.Descript-Installer.plist",
"~/Library/Preferences/com.descript.ScreenRecorder.plist",
"~/Library/Saved Application State/com.descript.beachcube.savedState",
"~/Library/Saved Application State/com.descript.Descript-Installer.savedState",
]
end