diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2023-11-27 16:00:53 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2023-11-27 16:00:53 -0300 |
commit | bc4ffee937f01bf1960b237d14657518452b79cc (patch) | |
tree | aee560e0aa46e18f97e4d1e0b990765bee66ac37 /tor-browser | |
parent | df9a7df3e0d3c4c089015b8ede4bbf1a1da258d1 (diff) | |
download | utils-tor-bc4ffee937f01bf1960b237d14657518452b79cc.tar.gz utils-tor-bc4ffee937f01bf1960b237d14657518452b79cc.tar.bz2 |
Diffstat (limited to 'tor-browser')
-rwxr-xr-x | tor-browser | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tor-browser b/tor-browser index b0e54cb..216d7eb 100755 --- a/tor-browser +++ b/tor-browser @@ -5,6 +5,7 @@ # Parameters BASENAME="`basename $0`" +VERSION="${1:-latest}" # Prefer torbrowser-launcher #if which torbrowser-launcher &> /dev/null; then @@ -28,7 +29,7 @@ BASENAME="`basename $0`" ARCH="`uname -m`" #FOLDER="$HOME/apps/tor-browser/$ARCH" - FOLDER="$HOME/.local/share/tor-browser/$ARCH/latest" + FOLDER="$HOME/.local/share/tor-browser/$ARCH/$VERSION" #if [ -d "$FOLDER" ]; then if [ -x "$FOLDER/start-tor-browser.desktop" ]; then |