Verified Commit 0c89cbc0 authored by Aral Balkan's avatar Aral Balkan
Browse files

Update install script for piped install

parent 382c2145
......@@ -4,10 +4,10 @@ An elegant command-line interface for AzireVPN’s Wireguard service.
## Install
Copy and paste the following command into your terminal. Before you pipe any script into your computer, always [view the source code](install) and make sure you understand what it does.
```sh
git clone https://source.small-tech.org/aral/vpn
cd vpn
sudo cp ./vpn /usr/local/bin/
sudo wget -qO- https://source.small-tech.org/aral/vpn/-/raw/master/install?inline=false | bash
```
## Use
......
#!/bin/bash
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"
lightPurple='\e[38;5;134m'
colorEnd='\e[0m'
......@@ -7,7 +13,8 @@ echo
echo -e " 📦 Installing…"
sudo mkdir -p /usr/local/bin/
sudo cp ./vpn /usr/local/bin/
sudo cp /tmp/vpn /usr/local/bin/
sudo chmod +x /usr/local/bin/vpn
echo -e " 🎉 Done!"
echo
......
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