Open Zykino opened 8 years ago
We use the icon provided by the developer when installing application from their Github repository, and icons from the Home when installing from the marketplace.
Maybe @m4dz remembers the rational behind this behavior.
It's a somewhat so complicated tech use case, so, I'll try to explain it simply: I have litterally no idea why we're doing this :laughing:. Obviously, we should use the icon provided by the app in its assets, as declared in the package.json manifest.
I suppose there was a time, long time ago (when dragons controlled everythings on earth), when we faced any issues that force us to embed icons for the Marketplace (the first reason I can see is that we can't get the icon if the app isn't present in the FS). But this is definitely not a good way to deal with it, and we'll find another better solution when we work on the new home /apps / stack :smile:.
I saw this issue in download app : Icon missing #10 It says that the cozy team need to add manually the icon displayed in the shop.
Why don't you use the one provided by the developer? It should be synced with the one displayed once installed so you can use the one in this folder (in this example) :/client/app/assets/icons
I suppose the icon is normalized for the cosy apps so why not using it everywhere?