Add Dasel VersionCheck

This commit is contained in:
Ben Burwood 2025-09-09 00:18:26 +01:00
parent eaeac2cb78
commit e668b828ea

View file

@ -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) => { exec("xelatex -version", (error, stdout) => {
if (error) { if (error) {
console.error("Tex Live with XeTeX is not installed."); console.error("Tex Live with XeTeX is not installed.");