phinze/homebrew-cask

View on GitHub
Casks/d/descript.rb

Summary

Maintainability
A
0 mins
Test Coverage
cask "descript" do
  arch arm: "-arm64"

  version "97.0.2-release.20240829.19544"
  sha256 arm:   "d0525b183f2679cc4642861f7bb16795074d03ee1811e66b18d9bcddf9549614",
         intel: "428d7b4782e905428ad7d9b54780d1ef0b346fffc5ffb2e7a8c86ad8b290702e"

  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