M8 重構(8cd5751)加了很多新 Wails binding(ClearLogs / ExportLog / ForceKillServer / GetBootstrapStatus / GetPreferences / GetRecentLogs / GetServerStatusV2 / GetSystemInfo / InstallKneronDriver / OpenInBrowser / RestartServer / RestartStartupSequence / RevealLogsFolder / SavePreferences / 等)+ 新增 struct(Preferences / LogLine / ServerStatusV2 / SystemInfo)。 wails build 時會 regen wailsjs/go/ 下的 bindings,但上次 M8 commit 時沒 把 regen 結果一併提上去,所以磁碟上的 bindings 和 go source 不同步。 這次 M8-10a build 時自動 regen,順手把 diff 提上來。純產物,無邏輯變更。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
80 lines
1.9 KiB
JavaScript
Executable File
80 lines
1.9 KiB
JavaScript
Executable File
// @ts-check
|
|
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
|
// This file is automatically generated. DO NOT EDIT
|
|
|
|
export function ClearLogs() {
|
|
return window['go']['main']['App']['ClearLogs']();
|
|
}
|
|
|
|
export function ExportLog() {
|
|
return window['go']['main']['App']['ExportLog']();
|
|
}
|
|
|
|
export function ForceKillServer() {
|
|
return window['go']['main']['App']['ForceKillServer']();
|
|
}
|
|
|
|
export function GetBootstrapStatus() {
|
|
return window['go']['main']['App']['GetBootstrapStatus']();
|
|
}
|
|
|
|
export function GetPreferences() {
|
|
return window['go']['main']['App']['GetPreferences']();
|
|
}
|
|
|
|
export function GetRecentLogs(arg1) {
|
|
return window['go']['main']['App']['GetRecentLogs'](arg1);
|
|
}
|
|
|
|
export function GetServerStatus() {
|
|
return window['go']['main']['App']['GetServerStatus']();
|
|
}
|
|
|
|
export function GetServerStatusV2() {
|
|
return window['go']['main']['App']['GetServerStatusV2']();
|
|
}
|
|
|
|
export function GetServerURL() {
|
|
return window['go']['main']['App']['GetServerURL']();
|
|
}
|
|
|
|
export function GetSystemInfo() {
|
|
return window['go']['main']['App']['GetSystemInfo']();
|
|
}
|
|
|
|
export function InstallKneronDriver() {
|
|
return window['go']['main']['App']['InstallKneronDriver']();
|
|
}
|
|
|
|
export function OpenBrowser(arg1) {
|
|
return window['go']['main']['App']['OpenBrowser'](arg1);
|
|
}
|
|
|
|
export function OpenInBrowser(arg1) {
|
|
return window['go']['main']['App']['OpenInBrowser'](arg1);
|
|
}
|
|
|
|
export function RestartServer() {
|
|
return window['go']['main']['App']['RestartServer']();
|
|
}
|
|
|
|
export function RestartStartupSequence() {
|
|
return window['go']['main']['App']['RestartStartupSequence']();
|
|
}
|
|
|
|
export function RevealLogsFolder() {
|
|
return window['go']['main']['App']['RevealLogsFolder']();
|
|
}
|
|
|
|
export function SetPreferences(arg1) {
|
|
return window['go']['main']['App']['SetPreferences'](arg1);
|
|
}
|
|
|
|
export function StartServer() {
|
|
return window['go']['main']['App']['StartServer']();
|
|
}
|
|
|
|
export function StopServer() {
|
|
return window['go']['main']['App']['StopServer']();
|
|
}
|