Merge branch 'cachy-v4' of github.com:Boria138/PortWINE into Boria138-cachy-v4

This commit is contained in:
Mikhail Tergoev
2025-09-18 14:24:18 +03:00

View File

@@ -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"