auto-torify in torbrowser.sh script

Former-commit-id: 63044f3e1b
Former-commit-id: 41dec631f3b4d50c089cfc4fd6136f77c8fca9f8
This commit is contained in:
idk
2022-10-01 22:12:05 -04:00
parent 90a543a272
commit 19315d4ed3
10 changed files with 17 additions and 12 deletions

View File

@ -1,4 +1,10 @@
#!/bin/sh #!/bin/bash
TORSOCKS=$(which torsocks)
if [ -f "${TORSOCKS}" ]; then
. "${TORSOCKS}" on
fi
version="$(curl -s https://aus1.torproject.org/torbrowser/update_3/release/downloads.json | jq -r ".version")" version="$(curl -s https://aus1.torproject.org/torbrowser/update_3/release/downloads.json | jq -r ".version")"
locale="en-US" # mention your locale. default = en-US locale="en-US" # mention your locale. default = en-US
if [ -d /etc/default/locale ]; then if [ -d /etc/default/locale ]; then
@ -19,4 +25,3 @@ fi
gpgv --keyring ./tor.keyring "tor-browser-linux64-"$version"_"$locale".tar.xz.asc" "tor-browser-linux64-"$version"_"$locale".tar.xz" gpgv --keyring ./tor.keyring "tor-browser-linux64-"$version"_"$locale".tar.xz.asc" "tor-browser-linux64-"$version"_"$locale".tar.xz"
tar xvJf "tor-browser-linux64-"$version"_"$locale".tar.xz" tar xvJf "tor-browser-linux64-"$version"_"$locale".tar.xz"

View File

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit! #Build Number for ANT. Do not edit!
#Sat Oct 01 21:13:24 EDT 2022 #Sat Oct 01 21:15:07 EDT 2022
build.number=117 build.number=118

View File

@ -1 +1 @@
a29bd431ed1184d83b9ca05be03c5c59fb8d7bc7 5be979c8bee9d1ce1eb3d781dbd4ccfae18ed19c

View File

@ -1,5 +1,5 @@
Profile Version Profile Version
=============== ===============
1.0.1-116 1.0.1-117

View File

@ -1 +1 @@
c285e0d5b3071b8461b71e26970c9a71947fa8b9 4e32116ea1e68c208b57b1b453a79107e361d296

View File

@ -1,5 +1,5 @@
Profile Version Profile Version
=============== ===============
1.0.1-116 1.0.1-117

View File

@ -1 +1 @@
3473411f9220130cd2c1cf8c638fa3d4c8e59f5c 74c5f067337b9c95ca7eb2d9d6a9cd62a90c33d2

View File

@ -1,5 +1,5 @@
Profile Version Profile Version
=============== ===============
1.0.1-116 1.0.1-117

View File

@ -1 +1 @@
a6caca9a32abd3d762596d2f8c174d55e324ce16 d8dcbd0c0e798c1aa91c256cf00a3819bc3ad6b9

View File

@ -1,5 +1,5 @@
Profile Version Profile Version
=============== ===============
1.0.1-116 1.0.1-117