mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
use direct sh shebang and stage location
This commit is contained in:
@@ -15,17 +15,18 @@ cask "{{ $projectName }}" do
|
||||
app "netbird_ui_darwin_arm64", target: "Netbird UI.app"
|
||||
end
|
||||
|
||||
depends_on formula: "netbird"
|
||||
postflight do
|
||||
set_permissions "/Applications/netclient", '0755'
|
||||
end
|
||||
|
||||
installer script: {
|
||||
executable: "installer.sh",
|
||||
executable: "#{staged_path}/netbird_ui_darwin_amd64/installer.sh",
|
||||
sudo: true,
|
||||
must_succeed: false,
|
||||
}
|
||||
|
||||
uninstall script: {
|
||||
executable: "uninstaller.sh",
|
||||
args: ["service","stop"],
|
||||
executable: "#{staged_path}/netbird_ui_darwin_amd64/uninstaller.sh",
|
||||
}
|
||||
|
||||
name "Netbird UI"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
#!/bin/sh
|
||||
|
||||
# check if wiretrustee is installed
|
||||
WT_BIN=$(which wiretrustee)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
#!/bin/sh
|
||||
|
||||
# check if netbird is installed
|
||||
NB_BIN=$(which netbird)
|
||||
|
||||
Reference in New Issue
Block a user