diff --git a/imgbot.sh b/imgbot.sh index bd2d992..bc6e456 100755 --- a/imgbot.sh +++ b/imgbot.sh @@ -21,6 +21,8 @@ ABS_PATH="$(readlink -f "$0")" RUN_DIR="$(dirname "$ABS_PATH")" ENTRY="${RUN_DIR}/../FediStatusPoster/runconfig.sh" +BOT_FOLDER="${HOME}/Programs/python3/bots" + [ ! $# -ge 1 ] &&\ echo "Invalid number of arguments..." &&\ echo "$(basename "$0") [path] [options...] usage:" &&\ @@ -37,19 +39,19 @@ shift case "$PICKED" in */rsc/YandereLewdBot/*) - DEFAULT_CREDENTIALS="${RUN_DIR}/credentials/yanderelewdbot.sh.gpg" - DEFAULT_KEYFILE='/media/3965789e-c451-4877-b96a-e07ebbe1153b/keys/yanderelewdbot.sh.key' + DEFAULT_CREDENTIALS="${BOT_FOLDER}/yandere_bot/yandere.sh.gpg" + DEFAULT_KEYFILE='/media/3965789e-c451-4877-b96a-e07ebbe1153b/keys/yandere.sh.key' ;; */rsc/FutureDiary/*) - DEFAULT_CREDENTIALS="${RUN_DIR}/credentials/futurediary.sh.gpg" - DEFAULT_KEYFILE='/media/3965789e-c451-4877-b96a-e07ebbe1153b/keys/futurediary.sh.key' + DEFAULT_CREDENTIALS="${BOT_FOLDER}/mirainikki_bot/mirainikki.sh.gpg" + DEFAULT_KEYFILE='/media/3965789e-c451-4877-b96a-e07ebbe1153b/keys/mirainikki.sh.key' ;; */rsc/HappySugarLife/*) - DEFAULT_CREDENTIALS="${RUN_DIR}/credentials/happysugarlife.sh.gpg" + DEFAULT_CREDENTIALS="${BOT_FOLDER}/happysugarlife_bot/happysugarlife.sh.gpg" DEFAULT_KEYFILE='/media/3965789e-c451-4877-b96a-e07ebbe1153b/keys/happysugarlife.sh.key' ;; */rsc/Netoge/*) - DEFAULT_CREDENTIALS="${RUN_DIR}/credentials/netoge.sh.gpg" + DEFAULT_CREDENTIALS="${BOT_FOLDER}/netoge_bot/netoge.sh.gpg" DEFAULT_KEYFILE='/media/3965789e-c451-4877-b96a-e07ebbe1153b/keys/netoge.sh.key' ;; esac