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