updated image path

with this release macOS icons should be displayed now
This commit is contained in:
dj2ls 2022-02-25 12:54:31 +01:00
parent def9ebc5ce
commit db55498c4c
5 changed files with 7 additions and 6 deletions

View file

@ -129,7 +129,7 @@ function createWindow() {
width: config.screen_width,
height: config.screen_height,
autoHideMenuBar: true,
icon: __dirname + '/src/icon_cube_border.png',
icon: 'src/img/icon.png',
webPreferences: {
//preload: path.join(__dirname, 'preload-main.js'),
preload: require.resolve('./preload-main.js'),

View file

@ -1,6 +1,6 @@
{
"name": "FreeDATA",
"version": "v0.0.1-alpha.19",
"version": "0.0.1-alpha.20",
"description": "FreeDATA ",
"main": "main.js",
"scripts": {
@ -45,10 +45,11 @@
"productName": "FreeDATA",
"appId": "app.freedata",
"directories": {
"buildResources": "src/img",
"output": "dist"
},
},
"dmg": {
"icon": "src/icon.png",
"icon": "src/img/icon.png",
"contents": [
{
"x": 130,
@ -63,13 +64,13 @@
]
},
"win": {
"icon": "src/icon.png",
"icon": "src/img/icon.png",
"target": [
"nsis"
]
},
"linux": {
"icon": "src/icon.png",
"icon": "src/img/icon.png",
"target": [
"AppImage"
],

View file

Before

Width:  |  Height:  |  Size: 110 KiB

After

Width:  |  Height:  |  Size: 110 KiB

View file

Before

Width:  |  Height:  |  Size: 646 KiB

After

Width:  |  Height:  |  Size: 646 KiB

View file

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 120 KiB