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:
Aymen Djellal 2024-09-26 08:23:28 -04:00 committed by C4illin
parent 413f5dc7b4
commit 63a4328d4a
5 changed files with 166 additions and 3 deletions

View file

@ -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");