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, width: config.screen_width,
height: config.screen_height, height: config.screen_height,
autoHideMenuBar: true, autoHideMenuBar: true,
icon: __dirname + '/src/icon_cube_border.png', icon: 'src/img/icon.png',
webPreferences: { webPreferences: {
//preload: path.join(__dirname, 'preload-main.js'), //preload: path.join(__dirname, 'preload-main.js'),
preload: require.resolve('./preload-main.js'), preload: require.resolve('./preload-main.js'),

View file

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