This commit is contained in:
Brian Zalewski 2023-06-14 06:52:15 +00:00
parent 4128167ef0
commit 307a72fc9a

View file

@ -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