feat: add resvg converter
This commit is contained in:
parent
7456174022
commit
d5eeef9f68
5 changed files with 70 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue