feat: add CentOS7 single executable build

This commit is contained in:
shiyue
2026-06-24 10:36:03 +08:00
parent a794607817
commit 67914ba10f
8 changed files with 365 additions and 26 deletions

View File

@@ -306,9 +306,7 @@ async function handleRequest(message) {
}
}
module.exports = { TOOLS };
if (require.main === module) {
function runStdioServer() {
let lineBuffer = '';
process.stdin.setEncoding('utf8');
@@ -334,3 +332,9 @@ if (require.main === module) {
process.exit(0);
});
}
module.exports = { TOOLS, runStdioServer };
if (require.main === module) {
runStdioServer();
}