Class BootstrapInstallerLauncher

java.lang.Object
lu.kbra.modelizer_next.bootstrap.selfupdate.BootstrapInstallerLauncher

public final class BootstrapInstallerLauncher extends Object
Starts a downloaded native bootstrap installer for self-update.
  • 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 install
      installerPath - path to read or write
      Returns:
      true when the condition is met; otherwise false
      Throws:
      IOException - if the operation cannot be completed