mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-01-14 23:20:34 +00:00
Compare commits
3 Commits
f3166c77da
...
662d78a021
Author | SHA1 | Date | |
---|---|---|---|
|
662d78a021 | ||
|
d10a84c5fe | ||
|
35e63f5bd5 |
@ -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"
|
||||
@ -1431,7 +1436,7 @@ eac_workaround() {
|
||||
|
||||
# Check if EAC is installed
|
||||
if [ ! -d "$eac_dir" ]; then
|
||||
message info "Easy Anti-Cheat does not appear to be installed.\nThere is nothing to do!"
|
||||
message info "Easy Anti-Cheat does not appear to be installed yet.\nThere is nothing to do!"
|
||||
return 1
|
||||
fi
|
||||
|
||||
@ -1587,6 +1592,7 @@ if [ "$#" -gt 0 ]; then
|
||||
printf "Star Citizen Linux Users Group Helper Script
|
||||
Usage: lug-helper <options>
|
||||
-p, --preflight-check Run system optimization checks
|
||||
-i, --install Install Star Citizen
|
||||
-m, --manage-runners Install or remove Lutris runners
|
||||
-k, --manage-dxvk Install or remove DXVK versions
|
||||
-u, --delete-user-folder Delete Star Citizen USER folder, preserving keybinds
|
||||
@ -1603,6 +1609,9 @@ Usage: lug-helper <options>
|
||||
--preflight-check | -p )
|
||||
cargs+=("preflight_check")
|
||||
;;
|
||||
--install | -i )
|
||||
cargs+=("install_game")
|
||||
;;
|
||||
--manage-runners | -m )
|
||||
cargs+=("runner_manage")
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user