Updated path locations for better bot seperation
This commit is contained in:
parent
47945c4d9c
commit
7ba36bded8
1 changed files with 8 additions and 6 deletions
14
imgbot.sh
14
imgbot.sh
|
@ -21,6 +21,8 @@ ABS_PATH="$(readlink -f "$0")"
|
||||||
RUN_DIR="$(dirname "$ABS_PATH")"
|
RUN_DIR="$(dirname "$ABS_PATH")"
|
||||||
ENTRY="${RUN_DIR}/../FediStatusPoster/runconfig.sh"
|
ENTRY="${RUN_DIR}/../FediStatusPoster/runconfig.sh"
|
||||||
|
|
||||||
|
BOT_FOLDER="${HOME}/Programs/python3/bots"
|
||||||
|
|
||||||
[ ! $# -ge 1 ] &&\
|
[ ! $# -ge 1 ] &&\
|
||||||
echo "Invalid number of arguments..." &&\
|
echo "Invalid number of arguments..." &&\
|
||||||
echo "$(basename "$0") [path] [options...] usage:" &&\
|
echo "$(basename "$0") [path] [options...] usage:" &&\
|
||||||
|
@ -37,19 +39,19 @@ shift
|
||||||
|
|
||||||
case "$PICKED" in
|
case "$PICKED" in
|
||||||
*/rsc/YandereLewdBot/*)
|
*/rsc/YandereLewdBot/*)
|
||||||
DEFAULT_CREDENTIALS="${RUN_DIR}/credentials/yanderelewdbot.sh.gpg"
|
DEFAULT_CREDENTIALS="${BOT_FOLDER}/yandere_bot/yandere.sh.gpg"
|
||||||
DEFAULT_KEYFILE='/media/3965789e-c451-4877-b96a-e07ebbe1153b/keys/yanderelewdbot.sh.key'
|
DEFAULT_KEYFILE='/media/3965789e-c451-4877-b96a-e07ebbe1153b/keys/yandere.sh.key'
|
||||||
;;
|
;;
|
||||||
*/rsc/FutureDiary/*)
|
*/rsc/FutureDiary/*)
|
||||||
DEFAULT_CREDENTIALS="${RUN_DIR}/credentials/futurediary.sh.gpg"
|
DEFAULT_CREDENTIALS="${BOT_FOLDER}/mirainikki_bot/mirainikki.sh.gpg"
|
||||||
DEFAULT_KEYFILE='/media/3965789e-c451-4877-b96a-e07ebbe1153b/keys/futurediary.sh.key'
|
DEFAULT_KEYFILE='/media/3965789e-c451-4877-b96a-e07ebbe1153b/keys/mirainikki.sh.key'
|
||||||
;;
|
;;
|
||||||
*/rsc/HappySugarLife/*)
|
*/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'
|
DEFAULT_KEYFILE='/media/3965789e-c451-4877-b96a-e07ebbe1153b/keys/happysugarlife.sh.key'
|
||||||
;;
|
;;
|
||||||
*/rsc/Netoge/*)
|
*/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'
|
DEFAULT_KEYFILE='/media/3965789e-c451-4877-b96a-e07ebbe1153b/keys/netoge.sh.key'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Reference in a new issue