homebrew-cask/Casks/d/descript.rb

34 lines
1.1 KiB
Ruby

cask "descript" do
arch arm: "-arm64"
version "72.1.1-release.20230908.24496"
sha256 arm: "92bc69d7756b5d46c9c99345fad1b037729cd75c643089aff005f1a7f83d8f5e",
intel: "da84af1fbef84d05e930e5fea674270ffa9aa5267a0fd21cb31a28dc40b7840c"
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