Replies: 1 comment 4 replies
-
I couldn't find any configuration to do this but I got it working by overwriting the icon files in the package. "post-install-cmd": [
// ...
"cp resources/icons/Icon.png ./vendor/nativephp/electron/resources/js/resources/icon.png",
"cp resources/icons/Icon.png ./vendor/nativephp/electron/resources/js/build/icon.png"
],
"post-update-cmd": [
// ...
"cp resources/icons/Icon.png ./vendor/nativephp/electron/resources/js/resources/icon.png",
"cp resources/icons/Icon.png ./vendor/nativephp/electron/resources/js/build/icon.png"
], Of course, you need to create the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to replace the default NativePHP icon when publishing an app?
I looked through the configuration docs here: https://nativephp.com/docs/1/getting-started/configuration but don't see anyway to change the main icon.
The only reference to changing an icon i see is on the menubar: https://nativephp.com/docs/1/the-basics/menu-bar#menu-bar-icon
Beta Was this translation helpful? Give feedback.
All reactions