UNPKG

shadowsocks-manager

Version:

A shadowsocks manager tool for multi user and traffic control.

13 lines (9 loc) 285 B
"use strict"; const path = require('path'); global.appRequire = filePath => { return require(path.resolve(__dirname, '../' + filePath)); }; global.appFork = filePath => { const child = require('child_process'); return child.fork(path.resolve(__dirname, '../' + filePath)); };