-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Upgrade node-libcurl #2223
Upgrade node-libcurl #2223
Conversation
Deploy preview for insomnia-storybook ready! Built with commit d7f10ef |
Deploy preview for insomnia-storybook ready! Built with commit 24b6881 |
2f6ab7c
to
9737076
Compare
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.
@@ -74,7 +73,7 @@ module.exports.start = async function(forcedVersion = null) { | |||
await copyFiles('../app/static', '../build/static'); | |||
await copyFiles(`../app/icons/${appConfig().appId}`, '../build/'); | |||
|
|||
// Generate package.json | |||
// Generate necessary files needed by `electron-builder` |
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.
💯
// Explicitly set userData folder from config because it's sketchy to | ||
// rely on electron-builder to use productName, which could be changed | ||
// by accident. | ||
if (!isDevelopment()) { |
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.
I changed the product name in one of these commits without realizing electron-builder
used it as the userData folder name. This adds a new option in the config and sets the userData folder explicitly so it's less likely we'll screw it up later.
This PR builds on top of #2150
Test build located here: https://github.com/Kong/insomnia/releases/tag/designer%402020.1.4-alpha.1
Summary
This PR makes the following changes:
node-libcurl
to latest release to prepare for Electron upgrade [Build] Update Electron #1847node-libcurl
static prebuilt binaries so we no longer have to buildTo-Do
NPM_CONFIG_...
env vars to CI because.npmrc
was being ignored in CInode-libcurl
prebuilt binaries instead of building ourselveselectron-rebuild
dependency.npmrc
to project to tell NPM to install for Electron target instead of host OSfile://
URIsfont-scanner
withfont-manager
(font-scanner
was an unmaintained fork)