From dca695e6289e0b2c5bb384e111aab3023563af26 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 20 Jun 2022 20:46:37 -0400 Subject: [PATCH] bug fix --- root/scripts/download.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/scripts/download.sh b/root/scripts/download.sh index 500f94c..90bbe74 100644 --- a/root/scripts/download.sh +++ b/root/scripts/download.sh @@ -292,7 +292,7 @@ TidalClientSetup () { fi # check for backup token and use it if exists - if [ ! -f /root/.tidal-dl.token.json ]; then + if [ ! -f /config/xdg/.tidal-dl.token.json ]; then if [ -f /config/backup/tidal-dl.token.json ]; then cp -p /config/backup/tidal-dl.token.json /root/.tidal-dl.token.json # remove backup token @@ -300,7 +300,7 @@ TidalClientSetup () { fi fi - if [ -f /root/.tidal-dl.token.json ]; then + if [ -f /config/xdg/.tidal-dl.token.json ]; then if [[ $(find "/config/xdg/.tidal-dl.token.json" -mtime +6 -print) ]]; then log ":: TIDAL :: ERROR :: Token expired, removing..." rm /config/xdg/.tidal-dl.token.json