Added no-quarantine flags
This commit is contained in:
parent
bc2d6ce755
commit
547e40b6b6
2 changed files with 3 additions and 5 deletions
|
@ -59,7 +59,7 @@ if [[ ! "$(test -d /proc && grep Microsoft /proc/version > /dev/null)" ]]; then
|
||||||
if [ -d /System ] && [ -d /Applications ]; then
|
if [ -d /System ] && [ -d /Applications ]; then
|
||||||
### Install on macOS
|
### Install on macOS
|
||||||
if [ ! -d "/Applications/Cloudflare WARP.app" ]; then
|
if [ ! -d "/Applications/Cloudflare WARP.app" ]; then
|
||||||
brew install --cask cloudflare-warp
|
brew install --cask --no-quarantine cloudflare-warp
|
||||||
else
|
else
|
||||||
logg info 'Cloudflare WARP already installed'
|
logg info 'Cloudflare WARP already installed'
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -20,9 +20,7 @@ if [ -d /Applications ] && [ -d /System ]; then
|
||||||
# macOS
|
# macOS
|
||||||
if [ ! -d /Applications/Docker.app ]; then
|
if [ ! -d /Applications/Docker.app ]; then
|
||||||
logg info 'Installing Docker on macOS via Homebrew cask'
|
logg info 'Installing Docker on macOS via Homebrew cask'
|
||||||
brew install --cask docker
|
brew install --cask --no-quarantine docker
|
||||||
logg info 'Removing Docker.app quarantine status'
|
|
||||||
sudo xattr -r -d com.apple.quarantine /Applications/Docker.app
|
|
||||||
else
|
else
|
||||||
logg info 'Docker appears to be installed already'
|
logg info 'Docker appears to be installed already'
|
||||||
fi
|
fi
|
||||||
|
@ -117,7 +115,7 @@ function gVisorPreBuilt() {
|
||||||
function gVisorGo() {
|
function gVisorGo() {
|
||||||
# Official build timed out - use Go method
|
# Official build timed out - use Go method
|
||||||
logg info 'Installing gVisor using the Go fallback method'
|
logg info 'Installing gVisor using the Go fallback method'
|
||||||
sudo chown -Rf sudo chown -Rf rclone:rclone "$PRIVATE_SHARE" || sudo chown -Rf rclone:$(id -g -n) "$PRIVATE_SHARE" /usr/local/src/gvisor
|
sudo chown -Rf "$(whoami)" /usr/local/src/gvisor
|
||||||
cd /usr/local/src/gvisor
|
cd /usr/local/src/gvisor
|
||||||
echo "module runsc" > go.mod
|
echo "module runsc" > go.mod
|
||||||
GO111MODULE=on go get gvisor.dev/gvisor/runsc@go
|
GO111MODULE=on go get gvisor.dev/gvisor/runsc@go
|
||||||
|
|
Loading…
Reference in a new issue