feat(download_other_wine): added cachy v2 and v4 check

parent 47c94056
...@@ -5368,7 +5368,11 @@ gui_proton_downloader () { ...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment