optimizations for running in Tor Browser, optimizations to keep I2P TLD out of search engines

This commit is contained in:
idk
2022-12-31 22:12:12 +00:00
parent 82cb3da2fe
commit b0da8bd494
6 changed files with 33 additions and 14 deletions

View File

@ -6,11 +6,11 @@ if [ -f "${TORSOCKS}" ]; then
echo ""
fi
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
if [ -d /etc/default/locale ]; then
. /etc/default/locale
locale=$(echo "${LANG}" | cut -d . -f1)
if [ -z $version ]; then
version="$(curl -s https://aus1.torproject.org/torbrowser/update_3/release/downloads.json | jq -r ".version")"
fi
if [ -z $locale ]; then
locale="ALL" # mention your locale. default = ALL
fi
if [ ! -f ./tor.keyring ]; then