Add Dasel VersionCheck
This commit is contained in:
parent
eaeac2cb78
commit
e668b828ea
1 changed files with 10 additions and 0 deletions
|
|
@ -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.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue