Closed luigiplr closed 9 years ago
Hi, thank you for the PR. I have some issues with it, if you can solve them I can merge it.
1) Why you unhide the dist folder? Since it is generated by Babel, I prefer to avoid put it in git.
2) Make the BrowserWindowParams arguments default to {'use-content-size': true }
to keep compatibility with previous versions.
3) Maybe it's better to call it browserWindowParams since it's not a class?
hi @parro-it :#1 I'll rehide the dist folder, unhid it as i and some others had problems without it. #2 & #3 sure
Fine. What kind of problem you had? It should be included in npm package
If it's not, it's my fault, but it should
@parro-it when using the dependency as a direct git type aka "electron-google-oauth": "git+https://github.com/parro-it/electron-google-oauth.git"
it does not run the prepublish
task nor is dist/ generated. this makes npm throw a error and fail to install the dep.
Also no prob the dependency itself is awesome!
Ah ok understood. There is a particular reason you're using the git scheme dep?
@parro-it it was mainly used for quick testing of edits without having to publish the dependency to the registry. However other uses would be if you wanted to keep the code to a dep private without paying for more on npmjs.com
That's fine, I already used them too, but on my own private gh repos, I was asking if there is a particular reason you have to use them on this repo
No particular reason. Simply for fast testing :)
Ok, in this case I prefer to keep it hidden. One last thing, then I'll merge: could you please rename the arg also in the exported folder, and also commit deletion of the dist folder you added? Thank you
@parro-it should be renamed, & removed.
And bump deps