-
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
macPlist option improvements #96
Conversation
Could I please get a response? 😕 |
LGTM - it would be great if the object properties are documented in the readme |
@steffenmllr Do you want me to make further changes and update my pull request? (I've also seen, that I messed up some line endings in the readme file, so let me fix these too) |
c8bdf1e
to
2d48f8f
Compare
PR is updated and squashed... |
@adam-lynch could you please take a look at it and merge it if you are ok with it |
I have no idea about macPlist to be honest. Sorry for taking a few days to respond, was out of the country. |
Would also love to see these changes within node-webkit-builder. Updating the |
If the motivation of this pull request is still unclear, just have a look at the modified test case. These changes are actually fairly simple and make using the macPlist option much, much easier, so I don't know why nobody feels responsible to quickly look into this for a merge. |
@bastimeyer you have a point 😄 I had another there now. Looks good to me. One small thing I'd suggest is not having more than three params per function. So for Also, for the README, how about something like this?
|
* Added support for a custom macPlist object so plist properties can be changed or added to the generated file. * Removed auxiliary properties appName, appVersion and copyright * Added checks for mandatory plist properties * Fixed asynchronicity issues * Modified plist test to reflect these changes
2d48f8f
to
87ee185
Compare
PR is again updated... 87ee185 |
macPlist option improvements
Thanks 👍 Sorry for taking so long 😄 |
Thanks! Would be nice if you could also bump the version and publish it on npm (also the grunt repo), so this can be used. 😃 |
Will do tomorrow unless someone else gets to it before me. Why are you suggesting to bump the grunt module's version though? Won't anyone installing it fresh / updating their install of the grunt module automatically get the latest version of the dependences (i.e. this module)? That's what I assume, unless we bump the version by its major version. |
Then yes. But if you've already installed the current version, then you'd need to clear your npm cache first before installing/updating the package or else it will be copied from there. That's why I'm suggesting to bump the patch version number... |
K thanks |
Done. Both at 0.3.0 now |
This change makes it easier if you want to add a single value to the
Info.plist
file. Right now, the only choice you have is replacing the whole plist file, which is inconvenient.I've changed the editPlist utility method, so you can use an object with custom values which will overwrite the parsed ones.