mirror of
https://github.com/packwiz/packwiz-installer.git
synced 2025-04-19 21:16:30 +02:00
Close input stream (ProgressMonitor) after copying
This commit is contained in:
parent
d5128f7eb3
commit
26b8e1de86
@ -44,6 +44,7 @@ public class Main {
|
|||||||
// TODO: link these somehow so they're only defined once?
|
// TODO: link these somehow so they're only defined once?
|
||||||
private static void addBootstrapOptions(Options options) {
|
private static void addBootstrapOptions(Options options) {
|
||||||
options.addOption(null, "bootstrap-update-url", true, "Github API URL for checking for updates");
|
options.addOption(null, "bootstrap-update-url", true, "Github API URL for checking for updates");
|
||||||
|
options.addOption(null, "bootstrap-update-token", true, "Github API Access Token, for private repositories");
|
||||||
options.addOption(null, "bootstrap-no-update", false, "Don't update packwiz-installer");
|
options.addOption(null, "bootstrap-no-update", false, "Don't update packwiz-installer");
|
||||||
options.addOption(null, "bootstrap-main-jar", true, "Location of the packwiz-installer JAR file");
|
options.addOption(null, "bootstrap-main-jar", true, "Location of the packwiz-installer JAR file");
|
||||||
options.addOption("g", "no-gui", false, "Don't display a GUI to show update progress");
|
options.addOption("g", "no-gui", false, "Don't display a GUI to show update progress");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user