feat: add resvg converter

This commit is contained in:
C4illin
2024-08-23 19:14:06 +02:00
parent 7456174022
commit d5eeef9f68
5 changed files with 70 additions and 1 deletions

View File

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