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:
Storm Dragon 2022-03-13 01:49:04 -05:00
parent 953a565467
commit f9410d4623

View File

@ -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