diff --git a/lug-helper.sh b/lug-helper.sh index 33e6acd..f341867 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -421,7 +421,7 @@ getdirs() { # If we don't have the directory paths we need yet, # ask the user to provide them if [ -z "$wine_prefix" ] || [ -z "$game_path" ]; then - message info "At the next screen, please select your Star Citizen WINE prefix.\nIt will be remembered for future use." + message info "Star Citizen must be installed before proceeding.\n\nAt the next screen, please select your Star Citizen WINE prefix.\nIt will be remembered for future use." if [ "$use_zenity" -eq 1 ]; then # Using Zenity file selection menus # Get the wine prefix directory @@ -1424,6 +1424,11 @@ preflight_check() { eac_workaround() { # Get/set directory paths getdirs + if [ "$?" -eq 1 ]; then + # User cancelled and wants to return to the main menu + # or there was an error + return 0 + fi # Set the EAC directory path and hosts modification eac_dir="$wine_prefix/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat"