mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-09 09:09:58 +00:00
* Initial app daemon implementation * Pass script path to child bridge processes * Change WebSocket server port * Fix error sending message whilst WebSocket connection is closing * Initial ext daemon connection implementation
19 lines
250 B
TypeScript
19 lines
250 B
TypeScript
"use strict";
|
|
|
|
import minimist from "minimist";
|
|
|
|
|
|
const argv = minimist(process.argv.slice(2), {
|
|
boolean: [ "daemon" ]
|
|
, default: {
|
|
daemon: false
|
|
}
|
|
});
|
|
|
|
|
|
if (argv.daemon) {
|
|
import("./daemon");
|
|
} else {
|
|
import("./bridge");
|
|
}
|