Skip to content

Commit

Permalink
Create mihomo-party.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 authored Jan 11, 2025
1 parent 89a9f04 commit 4fccdff
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Casks/m/mihomo-party.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
cask "mihomo-party" do
version "1.5.13"

Check failure on line 2 in Casks/m/mihomo-party.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

Cask/StanzaOrder: `version` stanza out of order
arch arm: "arm64", intel: "x64"

Check failure on line 3 in Casks/m/mihomo-party.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

Cask/StanzaGrouping: stanza groups should be separated by a single empty line

Check failure on line 3 in Casks/m/mihomo-party.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

Cask/StanzaOrder: `arch` stanza out of order

on_catalina do
sha256 arm: "ab3e280993b873d8f3fad9c562541a9d0dd6ffc6fadcdc44e476dd47779a6074",
intel: "d0618c6b7b2736de481a3d44827894d54e710bc2a64c968b291467828337badc"

url "https://github.com/mihomo-party-org/mihomo-party/releases/download/v#{version}/mihomo-party-catalina-#{version}-#{arch}.pkg"

pkg "mihomo-party-catalina-#{version}-#{arch}.pkg"
end
on_big_sur :or_newer do
sha256 arm: "ee286877ec431e3b2f7960b578438bc4c1ac9bd93361e1c24d47027fbaf67bee",
intel: "16bd0ff41f189057a1366edf425b61151c17bdc37fa031bff65a879154ada490"

url "https://github.com/mihomo-party-org/mihomo-party/releases/download/v#{version}/mihomo-party-macos-#{version}-#{arch}.pkg"

Check failure on line 17 in Casks/m/mihomo-party.rb

View workflow job for this annotation

GitHub Actions / test mihomo-party (macos-15, arm)

Signature verification failed: /private/tmp/cask-audit20250111-7225-hsy18f/mihomo-party-macos-1.5.13-arm64.pkg: rejected macOS on ARM requires software to be signed. Please contact the upstream developer to let them know they should sign and notarize their software.

pkg "mihomo-party-macos-#{version}-#{arch}.pkg"
end

name "Mihomo Party"
desc "Another Mihomo GUI"
homepage "https://github.com/mihomo-party-org/mihomo-party"

uninstall pkgutil: "party.mihomo.app"

zap trash: "~/Library/Application Support/mihomo-party"
end

0 comments on commit 4fccdff

Please sign in to comment.