Fix decompress zip path (#2755)

Since 0.30.2 the decompressed binary path from the signed package has changed

now it doesn't contain the arch suffix

this change handles that
This commit is contained in:
Maycon Santos
2024-10-17 20:39:59 +02:00
committed by GitHub
parent ccd4ae6315
commit 507a40bd7f
2 changed files with 4 additions and 4 deletions

View File

@@ -8,11 +8,11 @@ cask "{{ $projectName }}" do
if Hardware::CPU.intel?
url "{{ $amdURL }}"
sha256 "{{ crypto.SHA256 $amdFileBytes }}"
app "netbird_ui_darwin_amd64", target: "Netbird UI.app"
app "netbird_ui_darwin", target: "Netbird UI.app"
else
url "{{ $armURL }}"
sha256 "{{ crypto.SHA256 $armFileBytes }}"
app "netbird_ui_darwin_arm64", target: "Netbird UI.app"
app "netbird_ui_darwin", target: "Netbird UI.app"
end
depends_on formula: "netbird"
@@ -36,4 +36,4 @@ cask "{{ $projectName }}" do
name "Netbird UI"
desc "Netbird UI Client"
homepage "https://www.netbird.io/"
end
end