aboutsummaryrefslogtreecommitdiff
path: root/tor-browser
diff options
context:
space:
mode:
Diffstat (limited to 'tor-browser')
-rwxr-xr-xtor-browser3
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