homebrew-cask/Casks/d/descript.rb

34 lines
1.1 KiB
Ruby

cask "descript" do
arch arm: "-arm64"
version "77.1.3-release.20231117.29658"
sha256 arm: "b15142ac1ae160b0c45462fcf650d955894c64be90fcad623a27feb1826393d9",
intel: "d39afc2816e6ca43116469da941c855e277fd1fc0491eb52cbb4d362283f3683"
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