Add a warning to not launch games from the console. Installing is fine and most other flags are good, just not launcher.
This commit is contained in:
parent
953a565467
commit
f9410d4623
@ -258,6 +258,7 @@ game_launcher() {
|
||||
|
||||
|
||||
# If display isn't set assume we are launching from console and an X environment is running using display :0
|
||||
# Warning, launching games from console is not recommended.
|
||||
if [[ -z "$DISPLAY" ]]; then
|
||||
export DISPLAY=":0"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user