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
|
||||
### Install on macOS
|
||||
if [ ! -d "/Applications/Cloudflare WARP.app" ]; then
|
||||
brew install --cask cloudflare-warp
|
||||
brew install --cask --no-quarantine cloudflare-warp
|
||||
else
|
||||
logg info 'Cloudflare WARP already installed'
|
||||
fi
|
||||
|
|
|
@ -20,9 +20,7 @@ if [ -d /Applications ] && [ -d /System ]; then
|
|||
# macOS
|
||||
if [ ! -d /Applications/Docker.app ]; then
|
||||
logg info 'Installing Docker on macOS via Homebrew cask'
|
||||
brew install --cask docker
|
||||
logg info 'Removing Docker.app quarantine status'
|
||||
sudo xattr -r -d com.apple.quarantine /Applications/Docker.app
|
||||
brew install --cask --no-quarantine docker
|
||||
else
|
||||
logg info 'Docker appears to be installed already'
|
||||
fi
|
||||
|
@ -117,7 +115,7 @@ function gVisorPreBuilt() {
|
|||
function gVisorGo() {
|
||||
# Official build timed out - use Go 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
|
||||
echo "module runsc" > go.mod
|
||||
GO111MODULE=on go get gvisor.dev/gvisor/runsc@go
|
||||
|
|
Loading…
Reference in a new issue