-
Notifications
You must be signed in to change notification settings - Fork 302
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
Add option for changing windows icon #1
Conversation
allDone.push(rcedit( | ||
path.resolve(winPlatform.releasePath, _.first(winPlatform.files)), | ||
{ | ||
icon: self.options.winIco |
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.
Does that work with relative paths? If not could you add a path.resolve
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.
It should works fine with relative paths but I added a path.resolve just to be sure :)
Thanks for the PR and the the typo fix - in my defense it's spelled like this in German |
Could you also pls squash your commits ? |
travis also isn't happy: https://travis-ci.org/mllrsohn/node-webkit-builder/builds/23124435 |
Don't worry, I understand, I'm french ;) I'll fix the travis issue and then squash my commit, but can I ask why do you want me to squash all my commits? |
Ok, for travis, it's because we have to yet for the PR on node-rcedit to be merged since it's coffeescript. |
it's just cleaner to have on PR eql one commit - german remember - but since this is alpha do and there is also typo fixing it's fine i'll test and merge it |
Ok, I'll keep you update as soon as the other PR is merged. When do you plan on updating grunt-node-webkit-builder with this module? And by the way: thank you for grunt-node-webkit-builder 👍 |
Thanks, there is a branch with the new module: https://github.com/mllrsohn/grunt-node-webkit-builder/blob/develp/tasks/node_webkit_builder.js I want to release it as soon as possible, haven't had to time to test everything under linux + windows. |
could you also please add an entry to the readme? |
Done! |
Please merge this, I need the winIco feature 👍 Also, It might be good to update the npm package |
We have to wait for electron/node-rcedit#1 to be merged. |
We could simply ignore winIco if |
Going to publish the next version on npm next week - if it is not merged until then I'll consider doing a windows only version |
OK, I can make it windows only right now and make another PR if/when electron/node-rcedit#1 is merged by the @atom team (@zcbenz or @kevinsawicki). Another easy solution could be to use [email protected] dependency which contain the rcedit binary and run the binary from node-webkit-builder using the same code as this: https://github.com/SamyPesse/node-rcedit/blob/feature/maclinux/src/rcedit.coffee @steffenmllr what do you prefer? |
no rush, let's wait until next week. Also want to get the tests working on windows #5 until then. |
The PR on node-rcedit has been merged! |
@SamyPesse can you pls rebase master? |
Done! |
Add option for changing windows icon
Thanks again for you PR |
ping: @SamyPesse |
[Snyk Update] New fixes for 3 vulnerable dependency paths
This PR add an option
winIco
for changing the windows executable icon. This is working, I just test it using:I also fix a typo: "platform" instead of "plattform".
I have a PR pending on electron/node-rcedit#1 that adds the support of mac and linux to node-rcedit.