update xpui detection

- stop script if xpui.spa is not detected
This commit is contained in:
jetfir3 2022-10-22 21:05:22 -04:00 committed by GitHub
parent bce900284f
commit 2b5f60c441
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,8 +100,8 @@ echo
# xpui detection
if [[ ! -f "${XPUI_SPA}" ]]; then
echo "xpui not found, skipping xpui patches..."
XPUI_SKIP="true"
echo - e "\nxpui not found!\nReinstall Spotify then try again.\nExiting...\n"
exit
else
if [[ "${FORCE_FLAG}" == "false" ]]; then
if [[ -f "${XPUI_BAK}" ]]; then