fix loading & cleanup

This commit is contained in:
Anton Bracke
2022-02-19 01:48:56 +01:00
parent a5c7aa3969
commit 904525a084
11 changed files with 38 additions and 38 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import { app, Tray, Menu } from "electron";
import * as path from "path";
import path from "path";
import { showAboutWindow } from "electron-util";
import * as autoUpdater from "./auto-updater";
@@ -50,7 +50,7 @@ export function createTray() {
label: "About",
click() {
showAboutWindow({
icon: path.join(__dirname, "..", "assets", "icons", "logo.png"),
icon: path.join(assetsDirectory, "icons", "logo.png"),
copyright: "Copyright © WorkAdventure",
});
},