rename project, fix bug & optional output path

This commit is contained in:
2023-06-05 08:24:25 +02:00
parent c977c9e754
commit bf30e40759
21 changed files with 82 additions and 78 deletions

View File

@@ -1,5 +1,5 @@
/*
* ImageVideoUpscaler - upscalingHandler.js
* SimpleMediaScalerLite - upscalingHandler.js
*
* Created by Janis Hutz 06/03/2023, Licensed under the GPL V3 License
* https://janishutz.com, development@janishutz.com
@@ -24,9 +24,9 @@ class UpscalingHandler {
let baseCommand = '';
// Create cli command to upscale
if ( this.os === 'linux' ) {
baseCommand = './imagevideoupscaler';
baseCommand = './smuL-cli';
} else if ( this.os === 'win32' ) {
baseCommand = 'imagevideoupscaler';
baseCommand = 'smuL-cli';
}
@@ -55,11 +55,11 @@ 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 }).`} )
new Notification( { title: `SimpleMediaScalerLite - Error whilst upscaling', body: 'Your upscaling Job encountered an error whilst upscaling. (Error message: ${ error.message }).`} )
} );
child.on( 'close', ( code ) => {
new Notification( { title: `ImageVideoUpscaler - Job complete', body: 'Your Upscaling job has completed successfully (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 } )
} );
}

View File

@@ -1,8 +1,8 @@
<template>
<div class="about">
<img src="@/assets/logo.png">
<h1>About ImageVideoUpscaler</h1>
<p>ImageVideoUpscaler is an application that allows you to upscale your videos and / or images. It uses an Electron GUI (Graphical User Interface) and a Python CLI (Command Line Interface).</p>
<h1>About SimpleMediaScalerLite</h1>
<p>SimpleMediaScalerLite is an application that allows you to upscale your videos and / or images. It uses an Electron GUI (Graphical User Interface) and a Python CLI (Command Line Interface).</p>
<div class="version-info">
<h3>You are currently running version {{ appVersion }}. {{ versionNotice[ isUpToDate ] }}.</h3>
</div>
@@ -20,7 +20,7 @@ export default {
}
},
mounted () {
fetch( 'https://api.github.com/repos/simplePCBuilding/ImageVideoUpscaler/releases/latest' ).then( res => {
fetch( 'https://api.github.com/repos/simplePCBuilding/SimpleMediaScalerLite/releases/latest' ).then( res => {
res.json().then( data => {
this.latestVersion = data.tag_name;
if ( data.tag_name != this.appVersion ) {

View File

@@ -1,6 +1,6 @@
<template>
<div class="home">
<h1>ImageVideoUpscaler</h1>
<h1>SimpleMediaScalerLite</h1>
<label for="algorithm">Upscaler engine</label><br>
<select name="engine" id="engine" v-model="upscaleSettings.engine">