From a55fa4a352bc7e9aa92c4e20b1db00afa82f5050 Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Thu, 5 Sep 2024 18:32:04 -0400 Subject: [PATCH] Continue with wine install even if powershell is cancelled by user --- lug-helper.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lug-helper.sh b/lug-helper.sh index 9cb3a07..503557d 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -2453,9 +2453,11 @@ install_game_wine() { fi # Run the installer - WINEPREFIX="$install_dir" winecfg -v win10 && WINEPREFIX="$install_dir" winetricks powershell && WINEPREFIX="$install_dir" wine "$tmp_dir/$rsi_installer" + WINEPREFIX="$install_dir" winecfg -v win10 && + WINEPREFIX="$install_dir" winetricks powershell + WINEPREFIX="$install_dir" wine "$tmp_dir/$rsi_installer" - message info "Installation has completed.\n\nNote: Wine may have created the following launcher files on your system\nYou may remove or edit these if desired:\n\n$HOME/Desktop/RSI Launcher.destop\n$HOME/.local/share/applications/wine/Programs/Roberts Space Industries/RSI Launcher.desktop\n\nAfter making changes, update the database by running:\nupdate-desktop-database \$HOME/.local/share/applications" + message info "Installation has finished.\n\nNote: Wine may have created the following launcher files on your system\nYou may remove or edit these if desired:\n\n$HOME/Desktop/RSI Launcher.destop\n$HOME/.local/share/applications/wine/Programs/Roberts Space Industries/RSI Launcher.desktop\n\nAfter making changes, update the database by running:\nupdate-desktop-database \$HOME/.local/share/applications" fi }