Wails shell over the existing Go core (app.go, main.go, wails.json, build/), with a React frontend for the VM list, VM detail, host page, create wizard and settings, plus process helpers for the driver and runtime packages. UI redesign stage 0 (docs/ui-redesign.md): - VM actions live in the page header: one primary action per state, icon-only secondary actions with tooltips, the rest in a "..." menu - install guide is a single card with the only "eject installer" button - summary is an icon + value row; paths, ICD, CPU model and runtime hash moved to a collapsed "technical details" section - logs no longer auto-open; a status bar shows merged download progress and an error count; the log view sticks to the bottom - busy states on actions, toasts for results, custom delete dialog with "keep disk files" - design tokens, Windows font stack, integer type scale, no inline styles - keyboard: sidebar listbox navigation, focus rings, Ctrl+N / Ctrl+, / Ctrl+L - copy rewritten per the restraint rules in §4.5 - Radix primitives and lucide icons replace hand-rolled widgets Backend: OpenVMFolder binding to show a VM's directory in Explorer. Docs: shell-design.md revised for decisions D1 and D4. Vite dev server pinned to 127.0.0.1 so `wails dev` can reach it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
92 lines
2.3 KiB
JavaScript
92 lines
2.3 KiB
JavaScript
// @ts-check
|
|
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
|
// This file is automatically generated. DO NOT EDIT
|
|
|
|
export function ApplyVMSettings(arg1) {
|
|
return window['go']['main']['App']['ApplyVMSettings'](arg1);
|
|
}
|
|
|
|
export function CreateVM(arg1) {
|
|
return window['go']['main']['App']['CreateVM'](arg1);
|
|
}
|
|
|
|
export function DeleteVM(arg1, arg2) {
|
|
return window['go']['main']['App']['DeleteVM'](arg1, arg2);
|
|
}
|
|
|
|
export function EjectInstaller(arg1) {
|
|
return window['go']['main']['App']['EjectInstaller'](arg1);
|
|
}
|
|
|
|
export function EnableWHPX() {
|
|
return window['go']['main']['App']['EnableWHPX']();
|
|
}
|
|
|
|
export function GetState() {
|
|
return window['go']['main']['App']['GetState']();
|
|
}
|
|
|
|
export function GetVMDetail(arg1) {
|
|
return window['go']['main']['App']['GetVMDetail'](arg1);
|
|
}
|
|
|
|
export function InstallRuntimeArchive(arg1) {
|
|
return window['go']['main']['App']['InstallRuntimeArchive'](arg1);
|
|
}
|
|
|
|
export function OpenVMFolder(arg1) {
|
|
return window['go']['main']['App']['OpenVMFolder'](arg1);
|
|
}
|
|
|
|
export function PickDirectory(arg1) {
|
|
return window['go']['main']['App']['PickDirectory'](arg1);
|
|
}
|
|
|
|
export function PickFile(arg1, arg2) {
|
|
return window['go']['main']['App']['PickFile'](arg1, arg2);
|
|
}
|
|
|
|
export function PreviewCreate(arg1) {
|
|
return window['go']['main']['App']['PreviewCreate'](arg1);
|
|
}
|
|
|
|
export function ReadVMLogs(arg1, arg2) {
|
|
return window['go']['main']['App']['ReadVMLogs'](arg1, arg2);
|
|
}
|
|
|
|
export function RestartVM(arg1) {
|
|
return window['go']['main']['App']['RestartVM'](arg1);
|
|
}
|
|
|
|
export function SetAutoPinPCores(arg1) {
|
|
return window['go']['main']['App']['SetAutoPinPCores'](arg1);
|
|
}
|
|
|
|
export function SetDataRoot(arg1) {
|
|
return window['go']['main']['App']['SetDataRoot'](arg1);
|
|
}
|
|
|
|
export function SetLocale(arg1) {
|
|
return window['go']['main']['App']['SetLocale'](arg1);
|
|
}
|
|
|
|
export function StartVM(arg1) {
|
|
return window['go']['main']['App']['StartVM'](arg1);
|
|
}
|
|
|
|
export function StopVM(arg1, arg2) {
|
|
return window['go']['main']['App']['StopVM'](arg1, arg2);
|
|
}
|
|
|
|
export function UseRuntime(arg1) {
|
|
return window['go']['main']['App']['UseRuntime'](arg1);
|
|
}
|
|
|
|
export function ValidateCreate(arg1) {
|
|
return window['go']['main']['App']['ValidateCreate'](arg1);
|
|
}
|
|
|
|
export function ValidateSet(arg1) {
|
|
return window['go']['main']['App']['ValidateSet'](arg1);
|
|
}
|