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")); }