This commit is contained in:
Timothy Jaeryang Baek 2025-01-11 22:58:50 -08:00
parent 73740d7d73
commit ea7ac10364
2 changed files with 5 additions and 0 deletions

View File

@ -179,6 +179,7 @@ if (!gotTheLock) {
{
label: 'Reset',
click: () => {
loadDefaultView();
removePackage();
}
}

View File

@ -40,6 +40,10 @@
installStatus.set(await window.electronAPI.getInstallStatus());
serverStatus.set(await window.electronAPI.getServerStatus());
if ($installStatus && $serverStatus === 'stopped') {
window.electronAPI.startServer();
}
window.electronAPI.onLog((log) => {
console.log('Electron log:', log);
});