scripts/bash/usr-local-bin/nheko

12 lines
302 B
Bash
Executable File

#!/usr/bin/env bash
# USAGE: "nheko default" for the default profile or whatever profile is
# desired.
set -x
if [[ "$1" == -* ]]; then
flatpak run --env=LANGUAGE=fi:eo:en im.nheko.Nheko//master "$@"
else
flatpak run --env=LANGUAGE=fi:eo:en im.nheko.Nheko//master --compact --profile "$@"
fi
set +x