Skip to content

Commit

Permalink
Merge pull request #170688 from Homebrew/add-phoenix-code
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanazamfirei authored Apr 4, 2024
2 parents 5dc310e + e3c1fd4 commit 9fe6a52
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions Casks/p/phoenix-code.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
cask "phoenix-code" do
arch arm: "aarch64", intel: "x64"

version "3.5.6"
sha256 arm: "767549d4af463aae72940e90ffa4348aab92bb2dbdb4ab139f156886db5b763f",
intel: "fdaa2d7101d85c68266f710b568afb6f30b23381b8eec3beb58967424feaf654"

url "https://github.com/phcode-dev/phoenix-desktop/releases/download/prod-app-v#{version}/Phoenix.Code_#{version}_#{arch}.dmg",
verified: "github.com/phcode-dev/phoenix-desktop/"
name "Phoenix Code"
desc "Code editor"
homepage "https://phcode.io/"

livecheck do
url :url
strategy :github_latest
end

auto_updates true
depends_on macos: ">= :high_sierra"

app "Phoenix Code.app"

zap trash: [
"~/Library/Application Support/io.phcode",
"~/Library/Caches/io.phcode",
"~/Library/Saved Application State/io.phcode.savedState",
"~/Library/WebKit/io.phcode",
],
rmdir: "~/Documents/Phoenix Code"
end

0 comments on commit 9fe6a52

Please sign in to comment.