Skip to content

Commit

Permalink
feat: no more backup file not found, after re-install
Browse files Browse the repository at this point in the history
(hopefully)
  • Loading branch information
mykeels committed Jul 16, 2019
1 parent b640544 commit fb349aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions slack-theme
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ then
BACKUP_FILE="$BACKUP_FOLDER/ssb-interop.bundle.js"
ASAR="$DIR/bin/asar"
ASAR_REMOTE="https://raw.githubusercontent.com/mykeels/asar-binaries/master/bin/asar-macos"
BACKUP_FILE_REMOTE="https://raw.githubusercontent.com/mykeels/slack-theme-cli/master/backup/v4.0/ssb-interop.bundle.js"
fi
fi

Expand Down Expand Up @@ -184,6 +185,10 @@ then
curl $ASAR_REMOTE -o "$INSTALL_DIR/bin/asar"
chmod 766 "$INSTALL_DIR/bin/asar"
fi
if [ $IS_VERSION_4 ]
then
curl $BACKUP_FILE_REMOTE -o "$INSTALL_DIR/backup/ssb-interop.bundle.js"
fi
curl https://raw.githubusercontent.com/mykeels/slack-theme-cli/master/slack-day -O
curl https://raw.githubusercontent.com/mykeels/slack-theme-cli/master/slack-night -O
chmod 766 "$DIR/slack-theme"
Expand Down

0 comments on commit fb349aa

Please sign in to comment.