Files
2026-06-24 13:07:52 +02:00

25 lines
644 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
! ./index.js Central Project Module
?
*/
(async () => {
// $ initial software boot loader
// ?? Usage: "bootData.var" (e.g. "bootData.npm.express" or "bootData.dir.coreDir")
const bootData = await (async () => {
try {
// % load bootup file
const bootLoader = require("./startup/index");
// ~ startup bootloader and return result
return await bootLoader();
} catch (e) {
// ~ log error in console
console.error("Error in boot process:", e);
// ~ exit process
process.exit(1);
}
})();
})();