Latest
This commit is contained in:
parent
4128167ef0
commit
307a72fc9a
1 changed files with 5 additions and 1 deletions
|
@ -41,7 +41,11 @@
|
||||||
if [[ ! "$(test -d /proc && grep Microsoft /proc/version > /dev/null)" ]]; then
|
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
|
||||||
brew install --cask cloudflare-warp
|
brew install --cask cloudflare-warp
|
||||||
|
else
|
||||||
|
logg info 'Cloudflare WARP already installed'
|
||||||
|
fi
|
||||||
elif [ '{{ .host.distro.id }}' = 'debian' ]; then
|
elif [ '{{ .host.distro.id }}' = 'debian' ]; then
|
||||||
### Add CloudFlare WARP desktop app apt-get source
|
### Add CloudFlare WARP desktop app apt-get source
|
||||||
if [ ! -f /etc/apt/sources.list.d/cloudflare-client.list ]; then
|
if [ ! -f /etc/apt/sources.list.d/cloudflare-client.list ]; then
|
||||||
|
|
Loading…
Reference in a new issue