homebrew-cask/Casks/descript.rb

34 lines
1.1 KiB
Ruby

cask "descript" do
arch arm: "-arm64"
version "57.1.2-release.20230206.30"
sha256 arm: "eba4c300da1c00146ce41e89270c27013b8b9823d046d64a101f14d1688c42a3",
intel: "f5c6ffbebeff2d82dbe0ce0853901946b5e195277612f5f1aa6d16b1cb05c207"
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