From a5af58c7c054853629d34b3fd635235ae1709c89 Mon Sep 17 00:00:00 2001 From: jetfir3 <95306468+jetfir3@users.noreply.github.com> Date: Thu, 22 Feb 2024 11:52:44 -0500 Subject: [PATCH] Fix Linux detections --- spotx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spotx.sh b/spotx.sh index b524822..73d3ba5 100644 --- a/spotx.sh +++ b/spotx.sh @@ -170,7 +170,7 @@ linux_search_path () { local path="${path}" local timeLimit=$(($(date +%s) + timeout)) while (( $(date +%s) < "${timeLimit}" )); do - installPath=$(find "${path}" -type f -path "*/spotify*Apps/*" -name "xpui.spa" -size -10M -size +3M -print -quit 2>/dev/null | grep -v "snap" | rev | cut -d/ -f3- | rev) + installPath=$(find "${path}" -type f -path "*/spotify*Apps/*" -name "xpui.spa" -size -15M -size +3M -print -quit 2>/dev/null | grep -v "snap" | rev | cut -d/ -f3- | rev) [[ -n "${installPath}" ]] && return 0 pgrep -x find > /dev/null || break sleep 1