MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / specifiedDaemonVersion

Function specifiedDaemonVersion

panel/src/app/version.ts:65–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65export function specifiedDaemonVersion() {
66 try {
67 const data: any = JSON.parse(fs.readFileSync(PACKAGE_JSON, { encoding: "utf-8" }));
68 return data.daemonVersion ?? "1.0.0";
69 } catch (error: any) {
70 return "1.0.0";
71 }
72}
73
74export async function checkBusinessMode() {
75 if (!systemConfig) return;

Callers 1

overview_router.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected