2022-04-18 11:56:06 +02:00
|
|
|
#!/usr/bin/env bash
|
2023-06-09 07:04:01 +02:00
|
|
|
# Nheko flatpak with Tor
|
2022-09-29 15:41:46 +02:00
|
|
|
# USAGE: "nheko default" for the default profile or whatever profile is
|
2024-08-21 09:39:52 +02:00
|
|
|
# desired
|
2022-04-18 11:56:06 +02:00
|
|
|
set -x
|
2024-08-21 09:39:52 +02:00
|
|
|
if [[ "$1" == -* ]]; then
|
|
|
|
flatpak run --env=LC_ALL=en_US.utf8 --env=TZ=UTC --env=all_proxy=socks5://127.0.0.1:9050/ im.nheko.Nheko//master "$@"
|
|
|
|
else
|
|
|
|
flatpak run --env=LC_ALL=en_US.utf8 --env=TZ=UTC --env=all_proxy=socks5://127.0.0.1:9050/ im.nheko.Nheko//master --compact --profile "$@"
|
|
|
|
fi
|
2022-04-18 11:56:06 +02:00
|
|
|
set +x
|