Skip to content

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbrg authored Jun 17, 2021
1 parent 58ab2a4 commit 4074a8f
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -705,21 +705,17 @@ installTorBrowser() {
title "Installing Tor Browser v${VERSION_TOR}";

sudo apt install zenity -y;
curlToFile "https://www.torproject.org/dist/torbrowser/${VERSION_TOR}/tor-browser-linux64-${VERSION_TOR}_en-US.tar.xz" 'tor.tar.xz';
curlToFile "https://www.torproject.org/dist/torbrowser/${VERSION_TOR}/tor-browser-linux64-${VERSION_TOR}_en-US.tar.xz" 'tor_en-US.tar.xz';
curlToFile ${REPO_URL}"desktop/tor-browser.desktop" "/usr/share/applications/tor-browser.desktop";

sudo rm -rf /opt/tor-browser_en-US;
tar -xvf tor.tar.xz;
tar -xvf tor_en-US.tar.xz;
sudo mkdir -p /opt/tor-browser_en-US;
sudo mv tor-browser_en-US/* /opt/tor-browser_en-US;

sudo rm -f tor.tar.xz;
sudo rm -f tor_en-US.tar.xz;
sudo rm -rf tor-browser_en-US;

sudo chown -R $(whoami) /opt/tor-browser_en-US/;
sudo chmod 777 /opt/tor-browser_en-US/Browser/start-tor-browser.desktop;
cd /opt/tor-browser_en-US/Browser;
./start-tor-browser --register-app;

cd ~;

breakLine;
Expand Down

0 comments on commit 4074a8f

Please sign in to comment.