blob: ee33c6aeac5786c3c78b985c6489cf802d59613d (
plain)
1
2
3
4
5
6
7
8
|
const fs = require('fs');
log("MistyCore-Startup-Shell", "Starting user interface...");
if (!fs.existsSync("/User")) fs.mkdirSync("/User");
process.env.HOME = "/User";
global.uiProcess = require('child_process').spawn("/System/Library/Frameworks/NodeJS/MistyRuntime", [ "/System/Library/MistyCore/shell.js" ], { stdio: "inherit", cwd: "/User" });
log("MistyCore-Startup-Shell", "Started user interface");
|