added the description of a proposed startup sequence

backup
LinuxMint4Ever 2019-10-12 07:31:50 +02:00
parent 8968f79cf7
commit 4b826f3438
1 changed files with 32 additions and 0 deletions

32
main.py
View File

@ -0,0 +1,32 @@
#!/usr/bin/python2
#proposed launcher startup sequence
#
# - look at command line arguments
# possible arguments:
# --ui:gui, --ui:cli-interactive, --ui:args-only, --ui:auto (default: auto)
# --update:if-available, --update:force, --update:noupdate (default: if-available)
# --launch, -l (default: not present)
# --silent, --quiet, -s, -q (default: not present)
#
# - decide whether to launch the GUI or not (either by command line argument
# or by determining if running from terminal)
#
# - if updating: install update and restart if in GUI mode or interactive CLI mode,
# update and exit in args-only mode
#
# - launch GUI or launch interactive CLI or follow instructions from the
# command line:
# If --ui:args-only is present, the default actions are update:if-available
# and exit without launching. If -l is present, the GUI or
# interactive CLI are only shown while updating and Minecraft will launch
# automatically.
#
# - load configuration
#
# - handle user actions (only in GUI or interactive mode, skipped with -l)
# - update and store configuration
# - GUI interaction
# - wait for launch or close actions
#
# - launch the game or exit