-
Notifications
You must be signed in to change notification settings - Fork 47
Convert to use the electron-installer-common ElectronInstaller class #104
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
Conversation
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.
As with -debian
this has only aesthetic changes and the request is to fix the tests. If that's going to happen in a different PR, let me know.
data.logger(`Successfully created package at ${options.dest}`) | ||
return options | ||
data.logger(`Successfully created package at ${installer.options.dest}`) | ||
return installer.options | ||
}).catch(err => { | ||
data.logger(common.errorMessage('creating package', err)) | ||
throw err | ||
}) | ||
|
||
return nodeify(promise, callback) |
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.
We need to remove callback support. It's too bad that only now I realize about this, which could have been part of a previous release
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 think it's also in -windows
.
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 also have nodeify
in electron-installer-snap
. I was planning on getting rid of that dependency the next time there's a major version bump, for -snap
hopefully that's when Node 6 is EOL'd.
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.
That's a great idea, wait for Node 6 EOL and then remove nodeify
from all modules that still use it.
@fcastilloec FYI, I've made the requested changes. I'm probably just going to merge later today (here and in the other PRs) since you probably don't have time to look at the updates. |
Utilizes
electron-installer-common
0.6.0.