fix: update dependencies and enhance process management in the desktop application
This commit is contained in:
@@ -237,6 +237,15 @@ if (typeof window !== 'undefined') {
|
||||
});
|
||||
}
|
||||
|
||||
const runtimeReady = new Promise<void>((resolve) => {
|
||||
listen('openchamber:runtime-ready', () => {
|
||||
console.info('[main] Runtime ready event received');
|
||||
resolve();
|
||||
});
|
||||
});
|
||||
|
||||
await runtimeReady;
|
||||
|
||||
try {
|
||||
await import('@openchamber/ui/main');
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user