Skip to content

Java provisioning: 'Install Java N' button + progress in the args editor #37

Description

@CaYatur

Part of the Java auto-provisioning epic (slice 2, network).

Wire the installer into the UI. When no compatible JRE is installed (slice-1 plan state needs-install), the args-editor warning grows an "Install Java N" button.

Scope

  • java:install IPC (major → resolved path), streaming progress events to the renderer (channel + preload binding + register.ts handler).
  • Button shows a progress state (downloading %, verifying, extracting), disables while running, and on success sets the per-server javaPath to the returned executable + rescans the install list.
  • Failure (network, checksum mismatch) surfaces a toast; nothing is written.
  • EN/TR i18n in lockstep.

Depends on the installer core issue; both closed by one PR. Reverting this PR leaves slice 1's warnings fully intact.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:javaJava runtime detection & provisioningenhancementNew feature or request

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions