electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.71k stars 1.74k forks source link

How to set linux app icon in linux software installer #8278

Open Thesiva7 opened 4 months ago

Thesiva7 commented 4 months ago

Screenshot from 2024-06-13 13-47-03

How to set linux app icon in linux software installer.

My build configuration for linux is below.

"linux": { "desktop": { "StartupNotify": "false", "Encoding": "UTF-8", "icon": "assets/icons/my-app-256x256.icns" }, "target": [ "deb" ], "icon": "assets/icons/my-app-256x256.icns", "category": "AudioVideo", "synopsis": "Multi Video Conference Solution", "description": "This application is for multi video conference room solutions" },

any know how to provide app in linux software installer. help me. Thanks.

Thesiva7 commented 4 months ago

Any help please....

mmaietta commented 4 months ago

What's the required image dimensions of that icon preview? Does the icns file include one of that size?

tianyichuxin commented 3 months ago

I also encountered it, have you solved it yet

Thesiva7 commented 3 months ago

What's the required image dimensions of that icon preview? Does the icns file include one of that size?

i have tried with 16x16.png,32x32.png,64x64.png,128x128.png, 256x256.png, 512x512.png, 1024x1024.png image. i kept these in assests/icon folder. and given below configuration. but still it is not showing. "linux": { "desktop": { "StartupNotify": "false", "Encoding": "UTF-8", "icon": "assets/icons" }, "target": [ "deb" ], "icon": "assets/icons", "category": "AudioVideo", "synopsis": "Multi Video Conference Solution", "description": "This application is for multi video conference room solutions" },

Thesiva7 commented 3 months ago

I also encountered it, have you solved it yet

no, not yet. have you?

github-actions[bot] commented 4 weeks ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.