fix icon?
This commit is contained in:
parent
2eb3c0efbc
commit
26c56b13a3
|
|
@ -12,7 +12,7 @@ const config: ForgeConfig = {
|
||||||
packagerConfig: {
|
packagerConfig: {
|
||||||
asar: true,
|
asar: true,
|
||||||
icon: "res/icon",
|
icon: "res/icon",
|
||||||
extraResource: "res",
|
extraResource: "res/icon.png",
|
||||||
},
|
},
|
||||||
rebuildConfig: {},
|
rebuildConfig: {},
|
||||||
makers: [
|
makers: [
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ const createWindow = () => {
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
preload: path.join(__dirname, "preload.js"),
|
preload: path.join(__dirname, "preload.js"),
|
||||||
},
|
},
|
||||||
icon: "./res/icon.png",
|
icon: "./resources/icon.png",
|
||||||
});
|
});
|
||||||
|
|
||||||
// and load the index.html of the app.
|
// and load the index.html of the app.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue