attempt to restrict nheko as well

This commit is contained in:
Aminda Suomalainen 2026-05-11 11:06:10 +03:00
parent dd090a80c9
commit 0d70b1640f
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -3,9 +3,19 @@
# desired.
set -x
if [[ "$1" == -* ]]; then
flatpak run --env=LANGUAGE=fi:eo:en im.nheko.Nheko//master "$@"
if [ -f "$HOME/.local/bin/_a-usrlocalbin-functions.bash" ]; then
. $HOME/.local/bin/_a-usrlocalbin-functions.bash
elif [ -f /usr/local/bin/_a-usrlocalbin-functions.bash ]; then
. /usr/local/bin/_a-usrlocalbin-functions.bash
else
flatpak run --env=LANGUAGE=fi:eo:en im.nheko.Nheko//master --compact --profile "$@"
echo "Library _a-usrlocalbin-functions.bash not found."
exit 1
fi
if [[ "$1" == -* ]]; then
_gigaramhalfcpu flatpak run --env=LANGUAGE=fi:eo:en im.nheko.Nheko//master "$@"
else
_gigaramhalfcpu flatpak run --env=LANGUAGE=fi:eo:en im.nheko.Nheko//master --compact --profile "$@"
fi
set +x