bugfix of output not always being shown
This commit is contained in:
@@ -61,6 +61,7 @@ class UpscalingHandler {
|
||||
|
||||
child.stderr.on( 'data', ( data ) => {
|
||||
console.error(`stderr: ${ data }`);
|
||||
win.send( 'progress', '\n' + data );
|
||||
} );
|
||||
|
||||
child.on( 'error', ( error ) => {
|
||||
|
||||
@@ -156,7 +156,7 @@ export default {
|
||||
let self = this;
|
||||
|
||||
ipcRenderer.on( 'progress', function ( evt, message ) {
|
||||
self.output += message;
|
||||
self.output = message + self.output;
|
||||
});
|
||||
|
||||
ipcRenderer.on( 'finish', function ( evt, message ) {
|
||||
|
||||
Reference in New Issue
Block a user