Add new client test script, fix dependency installer.
This commit is contained in:
parent
499d86bed3
commit
59a9ddecad
@ -30,7 +30,7 @@ if [ "$(go version | head -c 13)" == "go version go" ]; then
|
|||||||
# Build and copy binary to bin directory
|
# Build and copy binary to bin directory
|
||||||
echo "Installing simple-vpn"
|
echo "Installing simple-vpn"
|
||||||
go build
|
go build
|
||||||
sudo cp ./simple-vpn /usr/bin/ -i
|
sudo cp ./simple-vpn /usr/bin/
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# Remove repository
|
# Remove repository
|
||||||
|
7
test-client
Executable file
7
test-client
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
echo "[warning] NEVER launch this script as sudo!"
|
||||||
|
echo "[info] Copying Client"
|
||||||
|
sudo cp MelonVPNClient/bin/Release/MelonVPNClient.exe /usr/lib/melon-vpn/MelonVPNClient2.exe
|
||||||
|
sudo cp MelonVPNClient/bin/Release/MelonVPNClient.exe.config /usr/lib/melon-vpn/MelonVPNClient2.exe.config
|
||||||
|
echo "[info] Starting Client"
|
||||||
|
mono /usr/lib/melon-vpn/MelonVPNClient2.exe
|
Loading…
Reference in New Issue
Block a user