-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
115 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Mullvad Browser is security-minded browser meant for use with a VPN. | ||
Default settings will block trackers, browser fingerprinting, ads, insecure HTTP connections, and more. | ||
|
||
Mullvad Browser is a fork of the Tor browser, and includes uBlock Origin and the Mullvad extensions preinstalled. | ||
|
||
To run: Menu -> Internet -> Mullvad Browser | ||
To run in a terminal: ~/mullvad-browser/Browser/start-mullvad-browser |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/bash | ||
|
||
version=13.0.9 | ||
|
||
#if ~/mullvad-browser_en-US folder exists, prepare to import its user-data | ||
if [ -d ~/mullvad-browser_en-US/Browser/MullvadBrowser/Data/Browser ];then | ||
mv -f ~/mullvad-browser_en-US ~/mullvad-browser.temp | ||
fi | ||
|
||
#if ~/mullvad-browser folder exists, prepare to import its user-data | ||
if [ -d ~/mullvad-browser/Browser/MullvadBrowser/Data/Browser ];then | ||
mv -f ~/mullvad-browser ~/mullvad-browser.temp | ||
fi | ||
|
||
rm -f ~/mullvad.tar.xz | ||
wget -O ~/mullvad.tar.xz https://sourceforge.net/projects/tor-browser-ports/files/mullvad-${version}/mullvad-browser-linux-armhf-${version}.tar.xz/download || error "Failed to download!" | ||
tar -xf ~/mullvad.tar.xz || error "Failed to extract!" | ||
rm -f ~/mullvad.tar.xz | ||
|
||
#if ~/mullvad-browser.temp folder exists, import its user-data | ||
if [ -d ~/mullvad-browser.temp ];then | ||
rm -rf ~/mullvad-browser/Browser/MullvadBrowser/Data/Browser | ||
mv -f ~/mullvad-browser.temp/Browser/MullvadBrowser/Data/Browser ~/mullvad-browser/Browser/MullvadBrowser/Data && rm -rf ~/mullvad-browser.temp | ||
fi | ||
|
||
#copy icon for wayfire | ||
mkdir -p ~/.local/share/icons | ||
cp -f $HOME/mullvad-browser/Browser/browser/chrome/icons/default/default128.png ~/.local/share/icons/mullvad-browser.png | ||
|
||
echo "[Desktop Entry] | ||
Type=Application | ||
Name=Mullvad Browser | ||
GenericName=Web Browser | ||
Comment=Mullvad Browser is +1 for privacy and −1 for mass surveillance | ||
Categories=Network;WebBrowser;Security; | ||
Exec=$HOME/mullvad-browser/Browser/start-mullvad-browser --class 'mullvad-browser' --name 'mullvad-browser' | ||
X-MullvadBrowser-ExecShell=./Browser/start-mullvad-browser --detach | ||
Icon=mullvad-browser | ||
StartupWMClass=mullvad-browser" > ~/.local/share/applications/mullvad.desktop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/bin/bash | ||
|
||
version=13.0.9 | ||
|
||
#if ~/mullvad-browser_en-US folder exists, prepare to import its user-data | ||
if [ -d ~/mullvad-browser_en-US/Browser/MullvadBrowser/Data/Browser ];then | ||
mv -f ~/mullvad-browser_en-US ~/mullvad-browser.temp | ||
fi | ||
|
||
#if ~/mullvad-browser folder exists, prepare to import its user-data | ||
if [ -d ~/mullvad-browser/Browser/MullvadBrowser/Data/Browser ];then | ||
mv -f ~/mullvad-browser ~/mullvad-browser.temp | ||
fi | ||
|
||
rm -f ~/mullvad.tar.xz | ||
wget -O ~/mullvad.tar.xz https://sourceforge.net/projects/tor-browser-ports/files/mullvad-${version}/mullvad-browser-linux-arm64-${version}.tar.xz/download || error "Failed to download!" | ||
tar -xf ~/mullvad.tar.xz || error "Failed to extract!" | ||
rm -f ~/mullvad.tar.xz | ||
|
||
#if ~/mullvad-browser.temp folder exists, import its user-data | ||
if [ -d ~/mullvad-browser.temp ];then | ||
rm -rf ~/mullvad-browser/Browser/MullvadBrowser/Data/Browser | ||
mv -f ~/mullvad-browser.temp/Browser/MullvadBrowser/Data/Browser ~/mullvad-browser/Browser/MullvadBrowser/Data && rm -rf ~/mullvad-browser.temp | ||
fi | ||
|
||
#copy icon for wayfire | ||
mkdir -p ~/.local/share/icons | ||
cp -f $HOME/mullvad-browser/Browser/browser/chrome/icons/default/default128.png ~/.local/share/icons/mullvad-browser.png | ||
|
||
echo "[Desktop Entry] | ||
Type=Application | ||
Name=Mullvad Browser | ||
GenericName=Web Browser | ||
Comment=Mullvad Browser is +1 for privacy and −1 for mass surveillance | ||
Categories=Network;WebBrowser;Security; | ||
Exec=$HOME/mullvad-browser/Browser/start-mullvad-browser --class 'mullvad-browser' --name 'mullvad-browser' | ||
X-MullvadBrowser-ExecShell=./Browser/start-mullvad-browser --detach | ||
Icon=mullvad-browser | ||
StartupWMClass=mullvad-browser" > ~/.local/share/applications/mullvad.desktop | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
#remove the menu launcher | ||
rm -f ~/.local/share/applications/tor.desktop | ||
|
||
#before removing the tor-browser_en-US folder, move the browser configuration like bookmarks, etc | ||
if [ -d ~/tor-browser ];then | ||
mkdir -p ~/tor-browser.temp/Browser/TorBrowser/Data | ||
mv -n ~/tor-browser/Browser/TorBrowser/Data/Browser ~/tor-browser.temp/Browser/TorBrowser/Data | ||
fi | ||
|
||
#remove all browser internals (except for user-data which we moved already) | ||
rm -rf ~/tor-browser | ||
|
||
#remove icon | ||
rm -f ~/.local/share/icons/tor-browser.png | ||
|
||
#move back the temporary folder containing user-data | ||
if [ -d ~/tor-browser.temp ];then | ||
mv ~/tor-browser.temp ~/tor-browser | ||
|
||
#let the user know where configuration is | ||
echo "Tor Browser has been uninstalled, but user-data like settings and bookmarks remain intact. | ||
To remove these files, run this command: | ||
rm -rf ~/tor-browser" | ||
|
||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
https://sourceforge.net/projects/tor-browser-ports/files/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters