Fixing issues
This commit is contained in:
@@ -17,7 +17,6 @@ const request = require('request');
|
||||
const progress = require('request-progress');
|
||||
//without this, there's a bug in electron that makes facebook pages ruin everything, see https://github.com/electron/electron/issues/25469
|
||||
app.commandLine.appendSwitch('disable-features', 'CrossOriginOpenerPolicy');
|
||||
app.allowRendererProcessReuse = false;
|
||||
|
||||
// const Readable = require('stream').Readable;
|
||||
import { SetPropertiesCommand } from './setproperties';
|
||||
|
||||
@@ -46,7 +46,7 @@ module.exports = function(url, path, progress) {
|
||||
})
|
||||
.on('end', function() {
|
||||
file.end();
|
||||
resolve();
|
||||
resolve(true);
|
||||
})
|
||||
.on('error', function(err) {
|
||||
reject(err);
|
||||
|
||||
Reference in New Issue
Block a user