diff --git a/frontend/src/App.vue b/frontend/src/App.vue index a2f25f6..8e8ecaa 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -53,12 +53,14 @@ export default { --dialog-color: rgb(243, 241, 241); --foreground-color: #2c3e50; --highlight-color: rgb(221, 0, 0); + --input-color: rgb(150, 150, 150); } :root.dark { --background-color: rgb(34, 34, 34); --foreground-color: white; --dialog-color: rgb(51, 51, 51); + --input-color: rgb(121, 121, 121); } body, html { diff --git a/frontend/src/upscalingHandler.js b/frontend/src/upscalingHandler.js index 63fc479..5e03e72 100644 --- a/frontend/src/upscalingHandler.js +++ b/frontend/src/upscalingHandler.js @@ -55,10 +55,12 @@ class UpscalingHandler { child.on( 'error', ( error ) => { console.log( 'An error occurred' + error ); + win.send( 'error', 'An error occurred during upscaling. (Error message: ' + error.message + ')' ); new Notification( { title: `SimpleMediaScalerLite - Error whilst upscaling', body: 'Your upscaling Job encountered an error whilst upscaling. (Error message: ${ error.message }).`} ) } ); child.on( 'close', ( code ) => { + win.send( 'finish', 'Your upscaling job finished with exit code ' + code + '. You may find its output here: ' + options.OutputFile ); new Notification( { title: `SimpleMediaScalerLite - Job complete', body: 'Your Upscaling job has completed successfully (Code ${ code }). You may find its output here: ` + options.OutputFile } ) } ); } diff --git a/frontend/src/views/HomeView.vue b/frontend/src/views/HomeView.vue index 68db6a2..8cfa3b3 100644 --- a/frontend/src/views/HomeView.vue +++ b/frontend/src/views/HomeView.vue @@ -1,31 +1,48 @@