提交subgame插件

This commit is contained in:
Kirito
2025-07-11 14:49:28 +08:00
commit b225060f0f
1240 changed files with 257564 additions and 0 deletions

19
dist/utils/ProcessUtils.js vendored Normal file
View File

@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ProcessUtils;
(function (ProcessUtils) {
function getArg(key, check) {
const index = process.argv.indexOf(key);
if (index < 0)
return null;
const value = process.argv[index + 1];
return check ? (check(value) ? value : null) : value;
}
ProcessUtils.getArg = getArg;
function haveArg(key) {
const index = process.argv.indexOf(key);
return index >= 0;
}
ProcessUtils.haveArg = haveArg;
})(ProcessUtils || (ProcessUtils = {}));
exports.default = ProcessUtils;