-
Notifications
You must be signed in to change notification settings - Fork 153
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
Missing Squirrel Config information - Icon #10
Comments
|
Then why was my app still failing to build when I was using iconUrl with a local path?
If I try
|
Then I would suggest including the very much important bit of information:
thus requiring this to be a fully qualified URL publicly available. |
I think you're looking for Also https://js.electronforge.io/maker/squirrel/interfaces/makersquirrelconfig#setupicon |
Nope, I am looking for the icon for the application itself, that is displayed on the EXE and in the installed application menu. Without an iconUrl, I get the default app icon on install: What your Squirrel.Windows link says, is that it is grabbed at installation time, which means (unless I'm reading it wrong) it needs to be a fully qualified URL and accessible via internet. (Which is honestly REALLY annoying for offline installs) See: |
Perhaps you want the WiX MSI maker instead. |
Either way, I would strongly encourage the docs to reflect this strict publicly hosted URL requirement. |
Feel free to submit a pull request to adjust the docs here: https://github.com/electron/windows-installer/blob/ce04bd0e13872d9a8cf7c7a507949c53a6732dfc/src/options.ts#L82-L87 |
https://js.electronforge.io/maker/squirrel/interfaces/makersquirrelconfig#iconurl
This references
iconUrl
, but noticon
.Because
iconUrl
expects a remote http/https url string, builds will fail when pointed to a local file.see: electron-userland/electron-installer-windows#55 (comment)
This should note that only one of
[iconUrl, icon]
should be used, andicon
for local app icon files.The text was updated successfully, but these errors were encountered: