mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	fix(desktop): blank screen when starting (closes #2103)
This commit is contained in:
		| @@ -38,7 +38,8 @@ export function startElectron(callback: () => void): DeferredPromise<void> { | ||||
|         console.log("Electron is ready!"); | ||||
|  | ||||
|         // Start the server. | ||||
|         await import("@triliumnext/server/src/main.js"); | ||||
|         const startTriliumServer = (await import("@triliumnext/server/src/www.js")).default; | ||||
|         await startTriliumServer(); | ||||
|  | ||||
|         // Create the main window. | ||||
|         await windowService.createMainWindow(electron.app); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user