packwiz / packwiz-installer-bootstrap

An updater for packwiz-installer.
https://packwiz.infra.link/
MIT License
26 stars 8 forks source link

`--help` does not show options for packwiz-installer.jar even when it is present. #9

Open Silveere opened 1 year ago

Silveere commented 1 year ago

When I run java -jar packwiz-installer-bootstrap.jar --help after downloading packwiz-installer.jar, it does not actually update the help text. It still outputs the following text:

Options for packwiz-installer will be visible once it has been downloaded.

Edit: I have tested this on multiple Java versions on both Windows 11 and Arch Linux.

comp500 commented 1 year ago

This has been known about for a while - it was caused by an oversight in updating packwiz-installer to use a newer relocated version of Apache Commons CLI, which isn't compatible with the older version packwiz-installer-bootstrap uses. I'm in the process of reworking packwiz-installer-bootstrap to avoid using Apache Commons CLI and communicate with packwiz-installer in an easier-to-maintain manner, particularly also as it will conflict with other things on the classpath in the new chainload system.