Class BootstrapInstallerLauncher
java.lang.Object
lu.kbra.modelizer_next.bootstrap.selfupdate.BootstrapInstallerLauncher
Starts a downloaded native bootstrap installer for self-update.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanpromptAndStartInstaller(BootstrapInstallerUpdate update, Path installerPath) Prompts the user for and start installer.
-
Constructor Details
-
BootstrapInstallerLauncher
public BootstrapInstallerLauncher()
-
-
Method Details
-
promptAndStartInstaller
public static boolean promptAndStartInstaller(BootstrapInstallerUpdate update, Path installerPath) throws IOException Prompts the user for and start installer.- Parameters:
update- update metadata to download or installinstallerPath- path to read or write- Returns:
truewhen the condition is met; otherwisefalse- Throws:
IOException- if the operation cannot be completed
-