mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2026-05-11 18:28:10 +02:00
attempt to restrict nheko as well
This commit is contained in:
parent
dd090a80c9
commit
0d70b1640f
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user