electron-windows-store icon indicating copy to clipboard operation
electron-windows-store copied to clipboard

Electron JS App still has default Icons (.appx file built with electron-windows-store)

Open NukleusOntwerp opened this issue 4 years ago • 2 comments

I've tried every solution I could find online but the logo keeps defaulting to electron logo. I do see my logos in the pre-appx/assets folder alongside the default Sample*.png files.

This is the command I use to build the appx file:

electron-windows-store --input-directory C:\nukleus-online-desktop-app\win-unpacked --output-directory C:\ --package-version 1.0.0.0 --package-name 'NukleusAanlynApp' --package-display-name 'Nukleus Aanlyn App' --publisher-display-name 'Nukleus Onderwys' --identity-name 31765NukleusOnderwys.NukleusAanlynApp -a C:\nukleus-online-desktop-app\Resources\

The logo files are now named only by size:

44x44.png

but I have tried Square44x44.Logo.png and it also did not work.

Any suggestions would be appreciated! I have also checked the repo and there are issues regarding this which seem to be sorted but I found no actual solutions.

NukleusOntwerp avatar Mar 10 '21 08:03 NukleusOntwerp

  1. You need to unpack the appx

  2. Open AppManifest, either rename your icon to the default naming / edit manifest image image

  3. Then repack appx and sign certificate.

FreeHongKong-PP avatar Mar 15 '21 07:03 FreeHongKong-PP

@FreeHongKong-PP

Much Appreciated!!! I tried unpacking the .appx but had to much trouble using MakeAppx.exe - so I instead renamed all my files to the Sample... names and it worked.

I also found a flag in the electron-windows-store command that allows you to replace the Manifest file, will try that too.

Again, Thank You!

NukleusOntwerp avatar Mar 16 '21 12:03 NukleusOntwerp