diff --git a/Casks/o/ossapp.rb b/Casks/o/ossapp.rb new file mode 100644 index 0000000000..4200e11dd9 --- /dev/null +++ b/Casks/o/ossapp.rb @@ -0,0 +1,37 @@ +cask "ossapp" do + arch arm: "-arm64" + + version "0.3.5" + sha256 arm: "c8a4b3d9b11d6e2e04b2e2161d28af8695aa7fc7fa25d27ec2fdb2d71c5220aa", + intel: "5a20d73f29d8b05c12c90cc7689efe771059d8129c9dbbcd58b8ba45523c2d1c" + + url "https://gui.pkgx.dev/release/ossapp-#{version}#{arch}-mac.zip", + verified: "gui.pkgx.dev/release" + name "pkgx" + desc "Unified package manager" + homepage "https://pkgx.app/" + + livecheck do + url "https://gui.pkgx.dev/release/latest-mac.yml" + strategy :electron_builder + end + + auto_updates true + + app "ossapp.app" + + zap trash: [ + "~/.pkgx", # Also used by CLI + "~/.tea", # Also used by CLI + "~/Library/Application Support/ossapp", + "~/Library/Application Support/pkgx", + "~/Library/Application Support/tea", + "~/Library/Caches/pkgx", + "~/Library/Caches/xyz.tea.gui", + "~/Library/Caches/xyz.tea.gui.ShipIt", + "~/Library/Logs/ossapp", + "~/Library/Logs/tea", + "~/Library/Preferences/xyz.tea.gui.plist", + "~/Library/Saved Application State/xyz.tea.gui.savedState", + ] +end diff --git a/Casks/t/tea.rb b/Casks/t/tea.rb deleted file mode 100644 index 57edc61ea6..0000000000 --- a/Casks/t/tea.rb +++ /dev/null @@ -1,31 +0,0 @@ -cask "tea" do - arch arm: "-arm64" - - version "0.2.48" - sha256 arm: "74453fd84eacf13244539d816853254b0a0ab471dda5f69ea40da229c9b84b9a", - intel: "7a3571bb55a63c49acffc29934eac5b35e4e4948a27cb9606891ab3d46a49ae5" - - url "https://gui.tea.xyz/release/tea-#{version}#{arch}-mac.zip" - name "tea" - desc "Unified package manager" - homepage "https://tea.xyz/gui/" - - livecheck do - url "https://gui.tea.xyz/release/latest-mac.yml" - strategy :electron_builder - end - - auto_updates true - - app "tea.app" - - zap trash: [ - "~/.tea", # Also used by CLI - "~/Library/Application Support/tea", - "~/Library/Caches/xyz.tea.gui", - "~/Library/Caches/xyz.tea.gui.ShipIt", - "~/Library/Logs/tea", - "~/Library/Preferences/xyz.tea.gui.plist", - "~/Library/Saved Application State/xyz.tea.gui.savedState", - ] -end diff --git a/cask_renames.json b/cask_renames.json index d4ce537389..3a462ab056 100644 --- a/cask_renames.json +++ b/cask_renames.json @@ -11,5 +11,6 @@ "opal": "opal-composer", "owasp-zap": "zap", "remotion": "multiapp", - "streamlabs-obs": "streamlabs" + "streamlabs-obs": "streamlabs", + "tea": "ossapp" }