Compare commits

..

No commits in common. "662d78a021e414d36c551e59bbf0969f352338b1" and "f3166c77da225ebef1184094bc2f6babd63a4eb6" have entirely different histories.

View File

@ -421,7 +421,7 @@ getdirs() {
# If we don't have the directory paths we need yet, # If we don't have the directory paths we need yet,
# ask the user to provide them # ask the user to provide them
if [ -z "$wine_prefix" ] || [ -z "$game_path" ]; then if [ -z "$wine_prefix" ] || [ -z "$game_path" ]; then
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." message info "At the next screen, please select your Star Citizen WINE prefix.\nIt will be remembered for future use."
if [ "$use_zenity" -eq 1 ]; then if [ "$use_zenity" -eq 1 ]; then
# Using Zenity file selection menus # Using Zenity file selection menus
# Get the wine prefix directory # Get the wine prefix directory
@ -1424,11 +1424,6 @@ preflight_check() {
eac_workaround() { eac_workaround() {
# Get/set directory paths # Get/set directory paths
getdirs 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 # Set the EAC directory path and hosts modification
eac_dir="$wine_prefix/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat" eac_dir="$wine_prefix/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat"
@ -1436,7 +1431,7 @@ eac_workaround() {
# Check if EAC is installed # Check if EAC is installed
if [ ! -d "$eac_dir" ]; then if [ ! -d "$eac_dir" ]; then
message info "Easy Anti-Cheat does not appear to be installed yet.\nThere is nothing to do!" message info "Easy Anti-Cheat does not appear to be installed.\nThere is nothing to do!"
return 1 return 1
fi fi
@ -1592,7 +1587,6 @@ if [ "$#" -gt 0 ]; then
printf "Star Citizen Linux Users Group Helper Script printf "Star Citizen Linux Users Group Helper Script
Usage: lug-helper <options> Usage: lug-helper <options>
-p, --preflight-check Run system optimization checks -p, --preflight-check Run system optimization checks
-i, --install Install Star Citizen
-m, --manage-runners Install or remove Lutris runners -m, --manage-runners Install or remove Lutris runners
-k, --manage-dxvk Install or remove DXVK versions -k, --manage-dxvk Install or remove DXVK versions
-u, --delete-user-folder Delete Star Citizen USER folder, preserving keybinds -u, --delete-user-folder Delete Star Citizen USER folder, preserving keybinds
@ -1609,9 +1603,6 @@ Usage: lug-helper <options>
--preflight-check | -p ) --preflight-check | -p )
cargs+=("preflight_check") cargs+=("preflight_check")
;; ;;
--install | -i )
cargs+=("install_game")
;;
--manage-runners | -m ) --manage-runners | -m )
cargs+=("runner_manage") cargs+=("runner_manage")
;; ;;