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

Build executable icon change #162

Closed
Besuf opened this issue Mar 14, 2021 · 2 comments
Closed

Build executable icon change #162

Besuf opened this issue Mar 14, 2021 · 2 comments

Comments

@Besuf
Copy link

Besuf commented Mar 14, 2021

I have managed to change the software icon while its being run. I have tried replacing the files inside resources but no luck, It dont seem to change the icon of the executable file after build. is there any other way to change the executable file icon maybe inside build script?
@saltyshiomix very helpful library btw. Thanks.

@dac09
Copy link

dac09 commented Apr 7, 2021

Hey @Besuf not sure if this will help you, but this is how I have it configured.

In my electron-builder.yml

productName: Tape
copyright: Copyright © 2020 Daniel Choudhury
directories:
  output: dist
+  buildResources: buildResources

And I have my icons along with other build resources in the buildResources folder:

./buildResources
├── entitlements.mac.inherit.plist
├── icon.icns
└── icon.ico

Hope this helps!

@saltyshiomix
Copy link
Owner

@Besuf
Sorry for late reply.
It may be the cache problem, which I encountered before.

electron-userland/electron-builder#840
electron-userland/electron-builder#2062

Feel free to reopen the issue if any troubles :)

@dac09
Thank you for your advice!

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

3 participants