Electron JS App still has default Icons (.appx file built with electron-windows-store)
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.
-
You need to unpack the appx
-
Open AppManifest, either rename your icon to the default naming / edit manifest

-
Then repack appx and sign certificate.
@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!