From 589892cb91d2e6b5048c8c8bac33167a582db516 Mon Sep 17 00:00:00 2001 From: Benex254 Date: Mon, 5 Aug 2024 09:47:05 +0300 Subject: [PATCH] feat: update script that runs app for you --- fa | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fa b/fa index 2197482..726a399 100755 --- a/fa +++ b/fa @@ -1,2 +1,4 @@ #!/usr/bin/env sh -exec "${PYTHON:-python3}" -Werror -Xdev "$(dirname "$(realpath "$0")")/fastanime/__main__.py" "$@" +# exec "${PYTHON:-python3}" -Werror -Xdev -m "$(dirname "$(realpath "$0")")/fastanime" "$@" +cd "$(dirname "$(realpath "$0")")" || exit 1 +exec python -m fastanime "$@"