-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Version info added to the final executable using rcedit #63
Conversation
You're going to want to rebase this into one commit. |
Done @malept |
@@ -42,6 +42,18 @@ ignore do not copy files into App whose filenames regex .match this | |||
prune runs `npm prune --production` on the app | |||
asar packages the source code within your app into an archive | |||
sign should contain the identity to be used when running `codesign` (OS X only) | |||
version-string This is a hash which holds the verision details of the generated exe (windows only). | |||
These are the following keys it supports |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More consistent description, IMO:
should contain a hash of the application metadata to be embedded into the executable (Windows only). Keys supported:
Opinions on whether the keys should be prefixed with *
or -
to visually indicate a list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep @malept your message is more appropriate. And i think -
is suitable for list.
Also i can make a pull to https://github.com/sindresorhus/grunt-electron on how to specify the hash. That will be easier
Companion pr made to the grunt-electron sindresorhus/grunt-electron#2 with updated readme on how to use the |
Hmm, it's not working on my machine: electron-packager @ d2a2f05 |
Also: how do we want to handle platform-specific options? Are there any of these properties which overlap on other platforms so we can avoid duplicate config? /cc @maxogden |
hey @jden i think i got the issue. if there is no icon specified, it skips the entire rcedit call.
i ll fix it and push in few.. |
Version info added to the final executable using rcedit
Is this supposed to be usable via command-line arguments? If it requires a hash, I'm not sure how that's possible... |
hi @kfranqueiro it is possible to use this with command line arguments too. packager uses
|
Looks like FileVersion is being ignored? It's not updating for me, and I can see in the screenshot for this PR that it's not updated there either. |
I noticed this as well, and was wondering if it's actually an issue with rcedit. |
@alexwarren @kfranqueiro |
This PR fixes the following issue
Set product name, file description copyright on Windows
#30
As per the comment #30 (comment) by @felicienfrancois,
rcedit
is already doing it.This patch has following changes
version-string
hash in the options. THis has following fieldsBelow the sample grunt config
We dont need resourcehacker dependency after all..
Below screenshot is the output of above config.