feat: print version of installed converters to log

This commit is contained in:
C4illin 2024-06-28 00:05:21 +02:00
parent fae2ba9c54
commit 801cf28d1e
3 changed files with 79 additions and 2 deletions

View file

@ -19,9 +19,10 @@ import {
normalizeFiletype,
normalizeOutputFiletype,
} from "./helpers/normalizeFiletype";
import "./helpers/printVersions";
import { version } from "../package.json";
console.log(`ConvertX v${version}`);
const db = new Database("./data/mydb.sqlite", { create: true });
const uploadsDir = "./data/uploads/";