updated everything to not require gs-secret manually
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
#!/bin/sh
|
||||
[ -z "$GS_SECRET" ] && GS_SECRET="$1"
|
||||
[ -z "$GS_SECRET" ] && printf 'Enter GSocket secret: ' && read -r GS_SECRET
|
||||
# Client-side GS-Warp launcher
|
||||
# Created by Luxferre in 2026, released into the public domain
|
||||
|
||||
[ -z "$OVPNCFG" ] && OVPNCFG="$2"
|
||||
[ -z "$OVPNCFG" ] && OVPNCFG="client.ovpn"
|
||||
GS_SECRET="$(md5sum "$OVPNCFG" | cut -d ' ' -f 1)"
|
||||
|
||||
GSPIDFILE='/tmp/gswarp-gs.pid'
|
||||
OVPIDFILE='/tmp/gswarp-ov.pid'
|
||||
|
||||
Reference in New Issue
Block a user