Original commits:
* Clean-up
* Introduce a new application arguments parser & handler
* Clean-up and deprecate `Tools#getLanguageOption`
* Fix `-debug` and `-debugall` parameters
* found this while debugging, ...why
* Remove deprecated parameters
* Invoke startup argument parser before handbook generation
* Move command map instantiation to `Grasscutter `(prevent making 3 instances on startup)
* Ensure \n at EOF
Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>
This is a modification of the current install.sh file, that works like that one, but without trying to install all the dependencies for you, which could cause some problems in outdated systems or not supported distros.
Also, install.sh file is outdated and doesn't work right now. This should be fixed, but for now, I prefer to have a separated and less intrusive script that does the same but without asking for dependencies.
This script can be also used for updating the current installation of Grasscutter if is run in the root folder of the server, removing the resources folder and giving some instructions on how to correctly update the server so you try them before starting to think that the update is just broken.
If you consider this unnecessary, please don't hesitate to cancel the PR.
Replaces tab indents with an extra linebreak.
Also adds / to the start of command usage.
Neither of these changes affect messages to the server console log.