fix(v1.0.3): fix startup window display, single instance lock, relative assets and obj packaging

This commit is contained in:
Michael committed 2026-05-21 19:17:07 +02:00
1 parent 47fb80602f
commit af479df65a
7 files changed
+58 -4

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
const fs = require('fs');
const path = require('path');
const paths = [
path.join(__dirname, 'public', 'Eve', 'EVE.obj'),
path.join(__dirname, 'Eve', 'EVE.obj')
];
paths.forEach(p => {
const newPath = p + '.bin';
if (fs.existsSync(p)) {
fs.renameSync(p, newPath);
console.log(`Renamed: ${p} -> ${newPath}`);
} else {
console.log(`Not found: ${p}`);
}
});