use relative path when calling wsl

This commit is contained in:
eyedeekay
2024-03-12 21:14:06 -04:00
parent f5f4d1c014
commit d32c850ede
3 changed files with 2 additions and 3 deletions

View File

@ -16,7 +16,7 @@ TORSOCKS=$(which torsocks)
if [ -f "${TORSOCKS}" ]; then
. "${TORSOCKS}" on
fi
which wsl && wsl "$SCRIPT_DIR"/src/win/torbrowser-windows.sh
which wsl && wsl ../src/win/torbrowser-windows.sh
which wsl || "$SCRIPT_DIR"/src/win/torbrowser-windows.sh
version="$(curl -s https://aus1.torproject.org/torbrowser/update_3/release/downloads.json | jq -r ".version")"
. "${TORSOCKS}" off