Verified Commit d4e59d55 authored by Aral Balkan's avatar Aral Balkan
Browse files

Improve consistency

parent d95a69e8
......@@ -2,13 +2,23 @@
set -e
echo '\n 📡 Downloading vpn v1.2.0…\n'
wget -qO /tmp/vpn "https://source.small-tech.org/aral/vpn/-/raw/master/vpn?inline=false"
version='1.2.0'
# AzireVPN uses purples; so shall we :)
darkPurple='\e[38;5;61m'
lightPurple='\e[38;5;134m'
colorEnd='\e[0m'
echo
echo -e " ${darkPurple}╔═══════════════════════════════════════════╗${colorEnd}"
echo -e " ${darkPurple}${colorEnd}${lightPurple} vpn v${version} ­– AzireVPN Wireguard interface ${colorEnd}${darkPurple}${colorEnd}"
echo -e " ${darkPurple}╚═══════════════════════════════════════════╝${colorEnd}"
echo
echo -e ' 📡 Downloading vpn v1.2.0…'
wget -qO /tmp/vpn "https://source.small-tech.org/aral/vpn/-/raw/master/vpn?inline=false"
echo
echo -e " 📦 Installing…"
......@@ -18,6 +28,6 @@ sudo chmod +x /usr/local/bin/vpn
echo -e " 🎉 Done!"
echo
echo -e "To start type ${lightPurple}vpn${colorEnd}."
echo -e "For help type ${lightPurple}vpn help${colorEnd}."
echo -e " To start type ${lightPurple}vpn${colorEnd}."
echo -e " For help type ${lightPurple}vpn help${colorEnd}."
echo
......@@ -2,11 +2,20 @@
set -e
version='1.2.0'
# AzireVPN uses purples; so shall we :)
darkPurple='\e[38;5;61m'
lightPurple='\e[38;5;134m'
colorEnd='\e[0m'
echo
echo -e " 📦 Installing…"
echo -e " ${darkPurple}╔═══════════════════════════════════════════╗${colorEnd}"
echo -e " ${darkPurple}${colorEnd}${lightPurple} vpn v${version} ­– AzireVPN Wireguard interface ${colorEnd}${darkPurple}${colorEnd}"
echo -e " ${darkPurple}╚═══════════════════════════════════════════╝${colorEnd}"
echo
echo -e " 📦 Installing locally…"
sudo mkdir -p /usr/local/bin/
sudo cp ./vpn /usr/local/bin/
......
......@@ -117,7 +117,7 @@ else
if [[ $currentConnection != '' ]]; then
if [[ $currentConnection == $serverCode ]]; then
echo -e " 😁👍 You’re already connected to AzireVPN in ${serverCodesToLocations[${currentConnection}]}.\n"
echo -e " You’re already connected to AzireVPN in ${serverCodesToLocations[${currentConnection}]}.\n"
exit
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment