feat(download_other_wine): added cachy v2 and v4 check

Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
2025-09-06 12:54:50 +05:00
parent 47c94056eb
commit 6f661f2df1

View File

@@ -5368,7 +5368,11 @@ gui_proton_downloader () {
}' /proc/cpuinfo) }' /proc/cpuinfo)
for PGEGIT in "${PROTON_CACHYOS_GIT[@]}" ; do 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 continue
else else
echo "${PGEGIT}" >> "${PW_TMPFS_PATH}/tmp_proton_cachyos_git" echo "${PGEGIT}" >> "${PW_TMPFS_PATH}/tmp_proton_cachyos_git"