add version to client
This commit is contained in:
parent
7b9b024f59
commit
abc65134fc
@ -6,6 +6,7 @@ import readline from 'node:readline/promises';
|
||||
import { parse } from 'ini';
|
||||
import MDBReader from 'mdb-reader';
|
||||
import { diff } from 'just-diff';
|
||||
import { version } from './package.json';
|
||||
|
||||
const rl = readline.createInterface({
|
||||
input: process.stdin,
|
||||
@ -114,5 +115,8 @@ process.on("SIGINT", () => {
|
||||
});
|
||||
rl.close();
|
||||
|
||||
|
||||
console.log(`FDLogUp Client v${version}`);
|
||||
|
||||
// "Upload first" option
|
||||
if (process.argv[2] === '--upload') _upload();
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"name": "fdlogup-client",
|
||||
"version": "1.0.0",
|
||||
"module": "index.ts",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user