rename project, fix bug & optional output path
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# imagevideoupscaler
|
||||
# SimpleMediaScalerLite
|
||||
|
||||
## Project setup
|
||||
```
|
||||
|
||||
4
frontend/package-lock.json
generated
4
frontend/package-lock.json
generated
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "imagevideoupscaler",
|
||||
"name": "SimpleMediaScalerLite",
|
||||
"version": "2.0.0-dev1",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "imagevideoupscaler",
|
||||
"name": "SimpleMediaScalerLite",
|
||||
"version": "2.0.0-dev1",
|
||||
"hasInstallScript": true,
|
||||
"license": "GPL-3.0-or-later",
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "imagevideoupscaler",
|
||||
"name": "SimpleMediaScalerLite",
|
||||
"version": "2.0.0-dev1",
|
||||
"maintainers": [
|
||||
"Janis Hutz <development@janishutz.com>"
|
||||
],
|
||||
"description": "An Electron frontend to the ImageVideoUpscaler-CLI",
|
||||
"description": "An Electron frontend to the SimpleMediaScalerLite-CLI",
|
||||
"homepage": "https://janishutz.com/scaler.html",
|
||||
"author": {
|
||||
"name": "Janis Hutz",
|
||||
@@ -13,7 +13,7 @@
|
||||
},
|
||||
"license": "GPL-3.0-or-later",
|
||||
"bugs": {
|
||||
"url": "https://github.com/simplePCBuilding/FSRImageVideoUpscalerFrontend/issues"
|
||||
"url": "https://github.com/simplePCBuilding/FSRSimpleMediaScalerLiteFrontend/issues"
|
||||
},
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
||||
@@ -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 } )
|
||||
} );
|
||||
}
|
||||
|
||||
|
||||
@@ -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 ) {
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user