fix: Use Vynte icons for installers and app icons
This commit is contained in:
+15
-4
@@ -10,14 +10,25 @@ import { FuseV1Options, FuseVersion } from '@electron/fuses';
|
|||||||
const config: ForgeConfig = {
|
const config: ForgeConfig = {
|
||||||
packagerConfig: {
|
packagerConfig: {
|
||||||
asar: true,
|
asar: true,
|
||||||
extraResource: ['resources']
|
extraResource: ['resources'],
|
||||||
|
icon: 'resources/VynteIcon'
|
||||||
},
|
},
|
||||||
rebuildConfig: {},
|
rebuildConfig: {},
|
||||||
makers: [
|
makers: [
|
||||||
new MakerSquirrel({}),
|
new MakerSquirrel({
|
||||||
|
setupIcon: 'resources/VynteIcon.ico'
|
||||||
|
}),
|
||||||
new MakerZIP({}, ['darwin']),
|
new MakerZIP({}, ['darwin']),
|
||||||
new MakerRpm({}),
|
new MakerRpm({
|
||||||
new MakerDeb({}),
|
options: {
|
||||||
|
icon: 'resources/VynteIcon.png'
|
||||||
|
}
|
||||||
|
}),
|
||||||
|
new MakerDeb({
|
||||||
|
options: {
|
||||||
|
icon: 'resources/VynteIcon.png'
|
||||||
|
}
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
new VitePlugin({
|
new VitePlugin({
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
@@ -153,6 +153,7 @@ function createWindow() {
|
|||||||
alwaysOnTop: true,
|
alwaysOnTop: true,
|
||||||
skipTaskbar: true,
|
skipTaskbar: true,
|
||||||
backgroundColor: '#191b20',
|
backgroundColor: '#191b20',
|
||||||
|
icon: resourcePath("VynteIcon.png"),
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
preload: path.join(__dirname, 'preload.js'),
|
preload: path.join(__dirname, 'preload.js'),
|
||||||
contextIsolation: true
|
contextIsolation: true
|
||||||
|
|||||||
Reference in New Issue
Block a user