Create and run build.js

This commit is contained in:
Sander Declerck 2025-11-28 10:51:43 +01:00
parent 98231b8d25
commit 9c149f3bb3
No known key found for this signature in database
7 changed files with 126 additions and 37 deletions

View file

@ -103,9 +103,7 @@ function copyStartupFiles() {
}
// Use absolute path for source
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const sourcePath = path.resolve(
const sourcePath = path.join(
__dirname,
includePython() ? "startup-scripts/include-python" : "startup-scripts",
file