Skip to content
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

fix(nsis): fix cli config error when use Boolean value in -c.nsis config #4528

Merged
merged 2 commits into from
Jan 16, 2020

Conversation

codeudan
Copy link
Contributor

Currently, when I config in cli like -c.nsis.createDesktopShortcut=true will not work, because it will parsed to String instead of Boolean.
I just fixed by using coerceTypes.

@kzimny
Copy link

kzimny commented Dec 31, 2019

The same for nsisWeb config?

@codeudan
Copy link
Contributor Author

codeudan commented Jan 1, 2020

@kzimny
nsisWeb config is like -c.nsisWeb
So need can add
if (config.nsisWeb != null) { coerceTypes(config.nsisWeb); }
to fix it.

@kzimny
Copy link

kzimny commented Jan 6, 2020

Can you please fix it for nsisWeb in the same way?

@codeudan
Copy link
Contributor Author

codeudan commented Jan 8, 2020

Can you please fix it for nsisWeb in the same way?
Done

@kzimny
Copy link

kzimny commented Jan 8, 2020

Great! Many thanks!

@develar develar merged commit ac8e9aa into electron-userland:master Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants