Commit f2c88399 authored by Mikhail Tergoev's avatar Mikhail Tergoev

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

parents 069cfb74 9c45d809
......@@ -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
......
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