-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
32 lines (30 loc) · 822 Bytes
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
clear
arch=`uname`
if [[ ("$arch" == *'Darwin'*) ]]; then
brew install wget
brew install php
brew install curl
brew install grep
brew install unzip
brew install lolcat
brew install localxpose
else
apt install wget
apt install php
apt install curl
apt install grep
apt install unzip
apt install lolcat
if [[ -e "loclx" ]]; then
echo -e "\n${GREEN}[${WHITE}+${GREEN}]${GREEN} Cloudflared already installed."
else
echo -e "\n${GREEN}[${WHITE}+${GREEN}]${CYAN} Installing Cloudflared..."${WHITE}
wget https://api.localxpose.io/api/v2/downloads/loclx-linux-arm64.zip
unzip loclx-linux-arm64.zip
chmod +x loclx
rm -rf loclx-linux-arm64.zip
fi
fi
chmod +x angelphish.sh
clear
./angelphish.sh