From 1acd82b4114a3f4a766b747321dbabe605dc465c Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Tue, 17 Jan 2023 17:00:23 -0500 Subject: [PATCH] Update winetricks preflight check for lutris builtin --- lug-helper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lug-helper.sh b/lug-helper.sh index 0b17902..5405459 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -842,12 +842,12 @@ winetricks_check() { winetricks_current="$(winetricks --version | awk '{print $1}')" if [ "$winetricks_required" != "$winetricks_current" ] && [ "$winetricks_current" = "$(printf "$winetricks_current\n$winetricks_required" | sort -V | head -n1)" ]; then - preflight_fail+=("Winetricks is out of date.\nVersion $winetricks_required or newer is required.\nPlease refer to our Quick Start Guide:\n$lug_wiki") + preflight_fail+=("Winetricks is out of date.\nVersion $winetricks_required or newer is required.\nIf installing the game through Lutris, this can be ignored.\nCheck that Use System Winetricks is disabled in Lutris Runner Options.") else preflight_pass+=("Winetricks is installed and up to date.") fi else - preflight_fail+=("Winetricks does not appear to be installed.\nVersion $winetricks_required or newer is required.\nPlease refer to our Quick Start Guide:\n$lug_wiki") + preflight_fail+=("Winetricks does not appear to be installed.\nVersion $winetricks_required or newer is required.\nIf installing the game through Lutris, this can be ignored.\nCheck that Use System Winetricks is disabled in Lutris Runner Options.") fi }