mirror of
https://github.com/R0m1k3/EveFlow.git
synced 2026-10-19 21:28:30 +02:00
fix(v1.0.3): fix startup window display, single instance lock, relative assets and obj packaging
This commit is contained in:
1 parent
47fb80602f
commit
af479df65a
7 files changed
+58
-4
No files matched your search
@@ -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}`);
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user