A fix I believe, not like I tested or anything
This commit is contained in:
8
grpoppro
8
grpoppro
@@ -12,9 +12,11 @@ player="mpv"
|
||||
|
||||
mkdir -p "$GRPOPPRO_DATA_DIR"
|
||||
|
||||
if nmcli connection show --active | grep -i -q wireguard; then
|
||||
echo exiting because vpn is active
|
||||
exit 0
|
||||
if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
||||
if nmcli connection show --active | grep -i -q wireguard; then
|
||||
echo "Exiting because a vpn connection is active"
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
function getFzfForTermux {
|
||||
|
||||
Reference in New Issue
Block a user