Update readme

This commit is contained in:
xavo95 2024-10-01 20:28:50 +02:00
parent 253ce62214
commit c1dc476910
Signed by: xavo95
GPG key ID: CBF8ADED6DEBB783

View file

@ -1,2 +1,39 @@
# Rusty launcher
## CMD
To use this, please provide a route to configuration file, and if desired log level(info default)
```cmd
launcher.exe -h
A generic application launcher that allows dll injection into the process(Only for Windows)
Usage: launcher.exe [OPTIONS]
Options:
-c, --config-file <CONFIG_FILE> The location of the config file [default: ./config.toml]
-l, --log-level <LOG_LEVEL> The log level for the launcher [possible values: off, error, warn, info, debug, trace]
-h, --help Print help (see more with '--help')
-V, --version Print version
D:\Projects\KuroGames\wuwa-rs\rusty-launcher>
```
## Examples
In the samples directory you will find some samples that are listed here to for completion
### WW
```toml
[launcher]
executable_file = 'Client-Win64-Shipping.exe'
cmd_line_args = '-fileopenlog'
current_dir = '<REPLACE_THIS_FOR_YOUR_GAME_FOLDER>\Client\Binaries\Win64'
dll_list = ['<FULL_PATH_TO_SHOREKEEPER_DLL>']
[environment]
#environment = ['TESTVAR1=AAAAAA', 'TESTVAR2=AAAAAA']
#use_system_env = true
#environment_append = false
```