[BUG] Launcher Arguments are not parsed correctly on Windows
dot-mike opened this issue · comments
Mike commented
Describe the bug
Launcher arguments are not correctly parsed on Windows, the user have to specify the first argument twice! It completely ignores the first passed argument.
To Reproduce
- Try starting Flashpoint.exe with the following arguments
browser_mode=True
&verbose=True
:
.\Flashpoint.exe browser_mode=True verbose=True
- You will see the following output:
{ args: { verbose: true }, rest: 'verbose=True' }
indicating that argument parser is wrong and missing the first argumentbrowser_mode
.
Expected behavior
That argument parser correctly parsed both arguments and the output was the following:
{ args: { verbose: true, browser_mode: true }, rest: '' }
Additional context
You have to specify the first arguments twice for it to work, e.g.
.\Flashpoint.exe back-only=True verbose=True browser_mode=True
PS E:\flashpoint\Flashpoint 10 Infinity_laucher_10-1\Launcher>
{ args: { verbose: true, browser_mode: true }, rest: '' }
```
Mike commented
Updated issues to match issue format