#Icon not getting set after build

20 messages · Page 1 of 1 (latest)

shrewd knoll
#

"linux": {
"target": "deb",
"icon": "build/app-icon.png",
"artifactName": "abc",
"detectUpdateChannel": true,
"generateUpdatesFilesForAllChannels": true,
"maintainer": "abc",
"packageCategory": "Linux",
"category": "Office",
"synopsis": "abc.",
"vendor": "abc"
}

above is my build configuration for linux which is set in package.json. build getting created successfully and app is working fine but logo or icon of app is not getting set. It is setting empty icon.
anybody can help how to configure for set icon?

astral ore
#

Linux do not have icons

#

Only when running from shortcut

shrewd knoll
#

look when I list all the application then it should show icon but it is showing just a name of app 'ltpl-webtracker-electronjs'.

#

@astral ore

astral ore
#

I told you why it's have icon

#

You can check desktop file

#

If icon exists

#

And you don't need extension in icon file name

#

You also need icon property in packaget

#

And browser window icon

shrewd knoll
#

I'm using electron-builder for package app. So this solution is same for electron-builder and electron-forge both ?

astral ore
#

no

shrewd knoll
#

can you please provide me solution as per electron-builder packager!

shrewd knoll
#

@astral ore

astral ore
#

i am not familiar with electron-builder

shrewd knoll
#

Ok Thanks for your guidance!

astral ore
#

as i said before you can check if shortcut have icon

#

and icon exists