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
|
# 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
|
if [[ -z "$DISPLAY" ]]; then
|
||||||
export DISPLAY=":0"
|
export DISPLAY=":0"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user