mirror of
https://github.com/open-webui/desktop
synced 2025-06-26 18:15:59 +00:00
refac
This commit is contained in:
parent
73740d7d73
commit
ea7ac10364
@ -179,6 +179,7 @@ if (!gotTheLock) {
|
||||
{
|
||||
label: 'Reset',
|
||||
click: () => {
|
||||
loadDefaultView();
|
||||
removePackage();
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user