From 6f661f2df125df71947f0ca6210e79e42a01fae3 Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Sat, 6 Sep 2025 12:54:50 +0500 Subject: [PATCH] feat(download_other_wine): added cachy v2 and v4 check Signed-off-by: Boris Yumankulov --- data_from_portwine/scripts/functions_helper | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index d9e9b209..498b5205 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -5368,7 +5368,11 @@ gui_proton_downloader () { }' /proc/cpuinfo) for PGEGIT in "${PROTON_CACHYOS_GIT[@]}" ; do - if [[ "$PGEGIT" =~ v3 ]] && [[ "$CPU_LEVEL" -lt 3 ]]; then + if [[ "$PGEGIT" =~ v2 ]] && [[ "$CPU_LEVEL" -lt 2 ]]; then + continue + elif [[ "$PGEGIT" =~ v3 ]] && [[ "$CPU_LEVEL" -lt 3 ]]; then + continue + elif [[ "$PGEGIT" =~ v4 ]] && [[ "$CPU_LEVEL" -lt 4 ]]; then continue else echo "${PGEGIT}" >> "${PW_TMPFS_PATH}/tmp_proton_cachyos_git"