A fix I believe, not like I tested or anything

This commit is contained in:
2024-12-18 00:29:38 +02:00
parent 74bf499299
commit 850aece8b4

View File

@@ -12,9 +12,11 @@ player="mpv"
mkdir -p "$GRPOPPRO_DATA_DIR" mkdir -p "$GRPOPPRO_DATA_DIR"
if nmcli connection show --active | grep -i -q wireguard; then if [[ "$OSTYPE" == "linux-gnu" ]]; then
echo exiting because vpn is active if nmcli connection show --active | grep -i -q wireguard; then
echo "Exiting because a vpn connection is active"
exit 0 exit 0
fi
fi fi
function getFzfForTermux { function getFzfForTermux {