add icon hopefully
This commit is contained in:
parent
abbe90760c
commit
73d2ac9b45
|
|
@ -3,6 +3,7 @@ import { MakerSquirrel } from "@electron-forge/maker-squirrel";
|
|||
import { MakerZIP } from "@electron-forge/maker-zip";
|
||||
import { MakerDeb } from "@electron-forge/maker-deb";
|
||||
import { MakerRpm } from "@electron-forge/maker-rpm";
|
||||
import { MakerFlatpak } from "@electron-forge/maker-flatpak";
|
||||
import { VitePlugin } from "@electron-forge/plugin-vite";
|
||||
import { FusesPlugin } from "@electron-forge/plugin-fuses";
|
||||
import { FuseV1Options, FuseVersion } from "@electron/fuses";
|
||||
|
|
@ -10,13 +11,15 @@ import { FuseV1Options, FuseVersion } from "@electron/fuses";
|
|||
const config: ForgeConfig = {
|
||||
packagerConfig: {
|
||||
asar: true,
|
||||
icon: "res/icon",
|
||||
extraResource: "res",
|
||||
},
|
||||
rebuildConfig: {},
|
||||
makers: [
|
||||
new MakerSquirrel({}),
|
||||
new MakerZIP({}),
|
||||
// new MakerRpm({}),
|
||||
// new MakerDeb({}),
|
||||
new MakerRpm({ options: { icon: "res/icon.png" } }),
|
||||
new MakerDeb({ options: { icon: "res/icon.png" } }),
|
||||
],
|
||||
plugins: [
|
||||
new VitePlugin({
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 7.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
|
|
@ -24,6 +24,7 @@ const createWindow = () => {
|
|||
webPreferences: {
|
||||
preload: path.join(__dirname, "preload.js"),
|
||||
},
|
||||
icon: "./res/icon.png",
|
||||
});
|
||||
|
||||
// and load the index.html of the app.
|
||||
|
|
|
|||
Loading…
Reference in New Issue