+To do this it firsts figures out the current version that is stored in the `version.txt` file in the jar of the bootstrapper (located at `bin/ChatOverflow-Launcher.jar`). It then searches for this release on GitHub and, if found, checks if a newer release than the current used on is available. If yes it asks the user if the installation should be upgraded. If no tty is attached, because the launcher was started from systemd or similar, it will just print a note and start Chat Overflow normally. To upgrade the installation the updater will download the newer deployment zip file to a temporary file and extract it to the directory of the current installation, overwriting old jars and files. After the update check it starts the bootstrap module of the launcher.
0 commit comments