updated everything to not require gs-secret manually

This commit is contained in:
Luxferre
2026-07-26 09:50:04 +03:00
parent f7e67801a5
commit 7b0d1582d7
5 changed files with 23 additions and 25 deletions
+4 -2
View File
@@ -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'