tera/Source/run-node.js
2019-07-12 20:45:46 +08:00

11 lines
298 B
JavaScript

const fs = require('fs');
const os = require('os');
if(!global.DATA_PATH || global.DATA_PATH==="")
global.DATA_PATH="../DATA";
global.CODE_PATH=process.cwd();
global.HTTP_PORT_NUMBER = 8080;
if(global.LOCAL_RUN===undefined)
global.LOCAL_RUN=0;
require('./process/main-process');