Add version statement on GUI boot

This commit is contained in:
AnimeDL 2023-07-13 15:14:35 -07:00
parent 2b491372fc
commit a25434b059
2 changed files with 4 additions and 1 deletions

View file

@ -6,6 +6,7 @@ import open from 'open';
import path from 'path';
import { PublicWebSocket } from './websocket';
import { console } from '../../modules/log';
import packageJson from '../../package.json';
process.title = 'AniDL';
@ -21,6 +22,8 @@ app.use(express.json());
app.use(cors());
app.use(express.static(path.join(workingDir, 'gui', 'server', 'build'), { maxAge: 1000 * 60 * 20 }));
console.info(`\n=== Multi Downloader NX GUI ${packageJson.version} ===\n`);
const server = app.listen(cfg.gui.port, () => {
console.info(`GUI server started on port ${cfg.gui.port}`);
});

View file

@ -1,7 +1,7 @@
{
"name": "multi-downloader-nx",
"short_name": "aniDL",
"version": "4.2.0b4",
"version": "4.2.0",
"description": "Download videos from Funimation, Crunchyroll, or Hidive via cli",
"keywords": [
"download",