From 4dcb796e1bd27badc078d0638076cd9f1e81c4a4 Mon Sep 17 00:00:00 2001 From: C4illin Date: Thu, 27 Jun 2024 00:59:06 +0200 Subject: [PATCH] feat: add version number to log issue #44 --- src/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 62f3968..6a29034 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -20,6 +20,9 @@ import { normalizeOutputFiletype, } from "./helpers/normalizeFiletype"; +import { version } from "../package.json"; +console.log(`ConvertX v${version}`); + const db = new Database("./data/mydb.sqlite", { create: true }); const uploadsDir = "./data/uploads/"; const outputDir = "./data/output/";