feat: add inkscape for vector images
This commit is contained in:
parent
b485bc9445
commit
f3740e9ded
5 changed files with 82 additions and 1 deletions
|
|
@ -53,6 +53,16 @@ if (process.env.NODE_ENV === "production") {
|
|||
}
|
||||
});
|
||||
|
||||
exec("inkscape --version", (error, stdout) => {
|
||||
if (error) {
|
||||
console.error("Inkscape is not installed.");
|
||||
}
|
||||
|
||||
if (stdout) {
|
||||
console.log(stdout.split("\n")[0]);
|
||||
}
|
||||
});
|
||||
|
||||
exec("djxl --version", (error, stdout) => {
|
||||
if (error) {
|
||||
console.error("libjxl-tools is not installed.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue