feat: add resvg converter

This commit is contained in:
C4illin committed 2024-08-23 19:56:43 +02:00
1 parent 7456174022
commit d5eeef9f68
5 files changed
+70 -1

No files matched your search

+10
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");