feat: Add support for 3d assets through assimp converter
This is a start for #144 It does not support all the 3d formats, but its a good few
This commit is contained in:
parent
413f5dc7b4
commit
63a4328d4a
5 changed files with 166 additions and 3 deletions
|
|
@ -83,6 +83,16 @@ if (process.env.NODE_ENV === "production") {
|
|||
}
|
||||
});
|
||||
|
||||
exec("assimp version", (error, stdout) => {
|
||||
if (error) {
|
||||
console.error("assimp is not installed");
|
||||
}
|
||||
|
||||
if (stdout) {
|
||||
console.log(`assimp v${stdout.split("\n")[5]}`);
|
||||
}
|
||||
});
|
||||
|
||||
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