-
Notifications
You must be signed in to change notification settings - Fork 1
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
Linux package manager #364
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.
Just fix the Promise.resolve() issue.
app/services/plugin.service.ts
Outdated
LOG.log(`Importing plugins from ${dir} to ${dest}.`); | ||
await copy(dir, dest); | ||
if (dest === dir) { | ||
return new Promise<void>((resolve, reject) => resolve()); |
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.
Just return Promise.resolve()
@@ -60,14 +60,19 @@ module.exports = (env = {}) => { // pass command line arguments like `webpack .. | |||
plugins: [ | |||
new webpack.NoEmitOnErrorsPlugin(), | |||
|
|||
/*** # 5/9/2017 ***/ |
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 we really don't even need Uglify for our application since our code is so minimal compared to the rest of electron.
Fixes issues with package management on Linux (and potentially other OS's).
package.json
are no longer attempted to be importedrequestOpenDirs
somePromises
a little