mirror of
https://github.com/DeveloperExotic/LegacyCrossPlay.git
synced 2026-07-16 17:01:21 +00:00
15 lines
339 B
JavaScript
15 lines
339 B
JavaScript
process.removeAllListeners("warning");
|
|
process.on("warning", (warning) => {
|
|
if (warning.name === "DeprecationWarning") return;
|
|
console.warn(warning.name, warning.message);
|
|
});
|
|
|
|
const LCEProxy = require("./src/LCEProxy");
|
|
|
|
const proxy = new LCEProxy();
|
|
proxy.start();
|
|
|
|
process.on("SIGINT", () => {
|
|
proxy.stop();
|
|
process.exit(0);
|
|
}); |