homebrew-cask/Casks/descript.rb

34 lines
1.1 KiB
Ruby

cask "descript" do
arch arm: "-arm64"
version "59.1.4-release.20230317.3"
sha256 arm: "400f0db2c0e7539799d8563382834b7512e0e30e30fda8569fc1e305e74d268f",
intel: "b07528bf916381b36d76d7f0cb616b24ed289764c2f30c23533d5e61dd73542b"
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