Initial LisgloSIPS V2 implementation

This commit is contained in:
hectorzhao
2026-06-22 10:56:38 +08:00
commit 5fa1bd35e9
303 changed files with 35644 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import { spawnSync } from 'node:child_process';
const args = process.argv.slice(2);
const npmExecPath = process.env.npm_execpath;
const command = npmExecPath && npmExecPath.includes('pnpm')
? process.execPath
: 'pnpm';
const commandArgs = npmExecPath && npmExecPath.includes('pnpm')
? [npmExecPath, ...args]
: args;
const result = spawnSync(command, commandArgs, {
stdio: 'inherit',
shell: false
});
if (result.error) {
console.error(result.error.message);
process.exit(1);
}
process.exit(result.status ?? 1);