This commit is contained in:
Jason Fu 2025-06-26 04:01:47 +02:00
parent bd36314f00
commit dcb15aee0e
3 changed files with 60 additions and 0 deletions

View file

@ -144,6 +144,16 @@ if (process.env.NODE_ENV === "production") {
}
});
exec("soffice --version", (error, stdout) => {
if (error) {
console.error("libreoffice is not installed");
}
if (stdout) {
console.log(stdout.split("\n")[0]);
}
});
exec("bun -v", (error, stdout) => {
if (error) {
console.error("Bun is not installed. wait what");