Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NukleusOntwerp opened this issue Mar 10, 2021 · 2 comments

Comments

@NukleusOntwerp
Copy link

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.

@FreeHongKong-PP
Copy link

  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.

@NukleusOntwerp
Copy link
Author

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants