add independent packaging scripts

This commit is contained in:
2023-06-04 15:43:21 +02:00
parent 0ea2d1d375
commit ab6d07d4bd
6 changed files with 103 additions and 18 deletions

View File

@@ -39,6 +39,8 @@ class UpscalingHandler {
// add additional options
// baseCommand += + ' -S ' + options.sharpening
// baseCommand += ' -E ' + options.engine + ' -M ' + options.algorithm
console.log( 'upscaling' );
let child = child_process.spawn( baseCommand, args );
@@ -52,6 +54,7 @@ class UpscalingHandler {
} );
child.on( 'error', ( error ) => {
console.log( 'An error occurred' + error );
new Notification( { title: `ImageVideoUpscaler - Error whilst upscaling', body: 'Your upscaling Job encountered an error whilst upscaling. (Error message: ${ error.message }).`} )
} );