Merge branch 'fixes_lsbash_1' of github.com:Htylol/PortWINE into Htylol-fixes_lsbash_1

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

View File

@@ -2473,7 +2473,7 @@ pw_init_db () {
if [[ "${PW_WINE_CPU_TOPOLOGY}" == "disabled" ]] && [[ -n "${WINE_CPU_TOPOLOGY}" ]] ; then
export PW_WINE_CPU_TOPOLOGY="${WINE_CPU_TOPOLOGY}"
fi
if lsbash "${PATH_TO_GAME}"/*_Data/Resources/ --grep "unity" &>/dev/null \
if compgen -G "${PATH_TO_GAME}/*_Data/Resources/*unity*" &>/dev/null \
&& [[ "${PW_WINE_CPU_TOPOLOGY}" == "disabled" ]] \
&& [[ $(grep -c ^"processor" /proc/cpuinfo) -gt "8" ]]
then