From 533210e6f79ba666ab853344d495cfc8b4a4fc08 Mon Sep 17 00:00:00 2001 From: Anton Bracke Date: Fri, 18 Feb 2022 23:27:20 +0100 Subject: [PATCH] fix path --- desktop/src/window.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src/window.ts b/desktop/src/window.ts index 8277bc1a..fe86c6fa 100644 --- a/desktop/src/window.ts +++ b/desktop/src/window.ts @@ -99,5 +99,5 @@ export function createWindow() { mainWindow?.setTitle("WorkAdventure Desktop"); }); - mainWindow.loadFile("../sidebar/index.html"); + mainWindow.loadFile(path.resolve(__dirname, "..", "sidebar", "index.html")); }