From b8bc72bc2347138b7c236927853e59529e229222 Mon Sep 17 00:00:00 2001 From: Botspot <54716352+Botspot@users.noreply.github.com> Date: Thu, 9 May 2024 00:30:46 -0500 Subject: [PATCH] Add Mullvad Browser --- apps/Mullvad/description | 7 +++++++ apps/Mullvad/icon-24.png | Bin 0 -> 1110 bytes apps/Mullvad/icon-64.png | Bin 0 -> 3526 bytes apps/Mullvad/install-32 | 39 ++++++++++++++++++++++++++++++++++++++ apps/Mullvad/install-64 | 40 +++++++++++++++++++++++++++++++++++++++ apps/Mullvad/uninstall | 27 ++++++++++++++++++++++++++ apps/Mullvad/website | 1 + etc/categories | 1 + 8 files changed, 115 insertions(+) create mode 100644 apps/Mullvad/description create mode 100644 apps/Mullvad/icon-24.png create mode 100644 apps/Mullvad/icon-64.png create mode 100755 apps/Mullvad/install-32 create mode 100755 apps/Mullvad/install-64 create mode 100755 apps/Mullvad/uninstall create mode 100644 apps/Mullvad/website diff --git a/apps/Mullvad/description b/apps/Mullvad/description new file mode 100644 index 0000000000..1b9a31f614 --- /dev/null +++ b/apps/Mullvad/description @@ -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 diff --git a/apps/Mullvad/icon-24.png b/apps/Mullvad/icon-24.png new file mode 100644 index 0000000000000000000000000000000000000000..5ae40cb7740a792cfb73fd951765a9d52d5fe0b5 GIT binary patch literal 1110 zcmV-c1gZOpP)004R>004l5008;`004mK004C`008P>0026e000+ooVrmw00006 zVoOIv0RI600RN!9r;`8x00(qQO+^Rj1qlTbA8;H@cmMzcT1iAfR7l6&mCtWfRTRfR z=f2nJbY?6ug9#LemRc-OB@kSx(GZNvQe)iV-{2qM#x<}o{s9_`JGUA`b!S}JM2u-P zg-Kf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<- zz0o3unR+WQ;=xo&$~3Puh(lp+dYzREx0!7=dFAv1MlGTds|#~X)*D<}yvwPHCs0!) z$T~5tHxev(@_huPe3XS;0>=BLZ7(!$1B21I!+@m%sUgz^!TD!dQR+Tq?UFR?VcsECgFgCWsOE0_y7RFoK zXvJj@Q3q);aN}l!AHQ8i)U5+1vc;=}Qax;hM(({)HY7({5J@-yn_D(d3V_5@aeCX{ zfp7m{j6Yf3V|rY%i46t_l`GG^=ZeQr-RLKd7UlD&hJSj!&d#%lS|#qdZ~l>xY*Ghk z;lyW>k=1UBK>_PW2_bm^i;K}J;NhF)vfJ$Akt(NvT)y}3}i}R zl(%nJ_`%O=?03W+hwkrzsyhxzkG%uo-`=e8i}yq4u#Bz#+FQ;CJ>?N~8{;y>9?`(B zK13wr2obj&rAh4h6O#NUqSp>O!ngjl$(!#~-KJ@>fSR=hfXE8JycM#4NTwi4#V1)n z<239|4%AQ0-Vc#-HxxQx&C{D44N{D1j8q9js{oQcJH-$?`xv+Icx6BVdrn(r5f4 zC^MR)m7+;suBzPw@VFh@S&DeCI(-kP7UPv6Dll4sbFp%p*l9~t^f zSDpH^ukWm3jfZ1=`lfDwtbdC;4THf>EHk?NnSO_-7c}qG-u7GG31xi`jev}hg8ILx zCK{?1<*1O$E{pY(p|?xo$s3jj3LTJzU=GH8RP1Hv{9+~j?-%uzcS3$ti+&b#bEL6F z?MM>rgHp2aA?hX`fW#Z3qRyqlVCeZWkB-$Ou3b76BfV{5bsMh6gI7S2kg#Yf*rE>YZu_^DW@RPE6aq-?DhD)s7LHQd+-vWmE054yF3`=}P zPW5FKP0I%vAHUlbk+%i?#*5+gdzRu=;ZjM#)L9h7pi3yP;XXMxMam2!vN9gXKbIIj z40{ja5bgb6%>zW ~/.local/share/applications/mullvad.desktop diff --git a/apps/Mullvad/install-64 b/apps/Mullvad/install-64 new file mode 100755 index 0000000000..dbcb1006e8 --- /dev/null +++ b/apps/Mullvad/install-64 @@ -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 + diff --git a/apps/Mullvad/uninstall b/apps/Mullvad/uninstall new file mode 100755 index 0000000000..c040a982b9 --- /dev/null +++ b/apps/Mullvad/uninstall @@ -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 diff --git a/apps/Mullvad/website b/apps/Mullvad/website new file mode 100644 index 0000000000..fb97c1bbcf --- /dev/null +++ b/apps/Mullvad/website @@ -0,0 +1 @@ +https://sourceforge.net/projects/tor-browser-ports/files/ diff --git a/etc/categories b/etc/categories index 24388b8f2a..db0f50e559 100644 --- a/etc/categories +++ b/etc/categories @@ -119,6 +119,7 @@ Min|Internet/Browsers Mission Planner|Engineering Monero GUI|Tools More RAM|Tools +Mullvad|Internet/Browsers Mu|Programming MuseScore2|hidden MuseScore|Multimedia