aboutsummaryrefslogtreecommitdiff
path: root/tor-browser
blob: eaf2b4838302d7f3379d3dc9f68a5df89ac09dbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
#
# Wrapper for the Tor Software Bundle
#

ARCH="`uname -m`"

if [ "$ARCH" == "i386" ]; then
  ARCH="linux32"
elif [ "$ARCH" == "i686" ]; then
  ARCH="linux32"
elif [ "$ARCH" == "x86_64" ]; then
  ARCH="linux64"
fi

mkdir -p $HOME/apps/tor-browser/$ARCH/Logs
cd $HOME/apps/tor-browser/$ARCH
$HOME/apps/tor-browser/$ARCH/start-tor-browser.desktop &> $HOME/apps/tor-browser/$ARCH/Logs/tor-browser.log &