Former-commit-id: 97ce0039f1e1a27bd9d9dd231298d73f808d98c3
This commit is contained in:
troyeguo
2021-07-17 21:39:30 +08:00
parent 74f15a6fdc
commit ea7ecaa681

View File

@@ -31,7 +31,7 @@ app.on("ready", () => {
nodeIntegrationInSubFrames: true,
allowRunningInsecureContent: true,
},
icon: nativeImage.createFromPath("assets/icons/256x256.png"),
icon: path.join(__dirname, "assets", "icons", "256x256.png"),
};
mainWin = new BrowserWindow(option);
@@ -64,7 +64,7 @@ app.on("ready", () => {
nodeIntegrationInSubFrames: true,
allowRunningInsecureContent: true,
},
icon: nativeImage.createFromPath("assets/icons/256x256.png"),
icon: path.join(__dirname, "assets", "icons", "256x256.png"),
};
let pdfLocation = isDev