diff --git a/forge.config.ts b/forge.config.ts index 6be50f3..dc9d933 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -10,14 +10,25 @@ import { FuseV1Options, FuseVersion } from '@electron/fuses'; const config: ForgeConfig = { packagerConfig: { asar: true, - extraResource: ['resources'] + extraResource: ['resources'], + icon: 'resources/VynteIcon' }, rebuildConfig: {}, makers: [ - new MakerSquirrel({}), + new MakerSquirrel({ + setupIcon: 'resources/VynteIcon.ico' + }), new MakerZIP({}, ['darwin']), - new MakerRpm({}), - new MakerDeb({}), + new MakerRpm({ + options: { + icon: 'resources/VynteIcon.png' + } + }), + new MakerDeb({ + options: { + icon: 'resources/VynteIcon.png' + } + }), ], plugins: [ new VitePlugin({ diff --git a/resources/VynteIcon.icns b/resources/VynteIcon.icns new file mode 100644 index 0000000..4dccac1 Binary files /dev/null and b/resources/VynteIcon.icns differ diff --git a/resources/VynteIcon.ico b/resources/VynteIcon.ico new file mode 100644 index 0000000..7343ea7 Binary files /dev/null and b/resources/VynteIcon.ico differ diff --git a/src/main.ts b/src/main.ts index 55aac89..c270a22 100644 --- a/src/main.ts +++ b/src/main.ts @@ -153,6 +153,7 @@ function createWindow() { alwaysOnTop: true, skipTaskbar: true, backgroundColor: '#191b20', + icon: resourcePath("VynteIcon.png"), webPreferences: { preload: path.join(__dirname, 'preload.js'), contextIsolation: true