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"
|
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
|
||||||
exit 0
|
echo "Exiting because a vpn connection is active"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
function getFzfForTermux {
|
function getFzfForTermux {
|
||||||
|
|||||||
Reference in New Issue
Block a user