From e668b828ea3abf6fa34ab036dcfc598b69b3c680 Mon Sep 17 00:00:00 2001 From: Ben Burwood Date: Tue, 9 Sep 2025 00:18:26 +0100 Subject: [PATCH] Add Dasel VersionCheck --- src/helpers/printVersions.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/helpers/printVersions.ts b/src/helpers/printVersions.ts index eb1a591..bd94729 100644 --- a/src/helpers/printVersions.ts +++ b/src/helpers/printVersions.ts @@ -84,6 +84,16 @@ if (process.env.NODE_ENV === "production") { } }); + exec("dasel --version", (error, stdout) => { + if (error) { + console.error("dasel is not installed."); + } + + if (stdout) { + console.log(stdout.split("\n")[0]); + } + }); + exec("xelatex -version", (error, stdout) => { if (error) { console.error("Tex Live with XeTeX is not installed.");