1.7.0 path to icon
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
const { FusesPlugin } = require('@electron-forge/plugin-fuses');
|
||||
const { FuseV1Options, FuseVersion } = require('@electron/fuses');
|
||||
const path = require('path')
|
||||
|
||||
module.exports = {
|
||||
packagerConfig: {
|
||||
@@ -10,7 +11,7 @@ module.exports = {
|
||||
{
|
||||
name: '@electron-forge/maker-squirrel',
|
||||
config: {
|
||||
icon: './assets/client'
|
||||
icon: path.join(__dirname, 'assets/client')
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -21,7 +22,7 @@ module.exports = {
|
||||
name: '@electron-forge/maker-deb',
|
||||
config: {
|
||||
options: {
|
||||
icon: './assets/client.png'
|
||||
icon: path.join(__dirname, './assets/client.png')
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
4
main.js
4
main.js
@@ -61,9 +61,7 @@ const createWindow = () => {
|
||||
const win = new BrowserWindow({
|
||||
width: 1440,
|
||||
height: 900,
|
||||
//title: 'Client',
|
||||
//titleBarStyle: 'hidden',
|
||||
//tabbingIdentifier: 'clientTabs',
|
||||
icon: path.join(__dirname, 'assets/client.png'),
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, 'preload.js')
|
||||
},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Client",
|
||||
"version": "1.6.0",
|
||||
"version": "1.7.0",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
"start": "electron-forge start",
|
||||
|
||||
Reference in New Issue
Block a user