初始提交

This commit is contained in:
2026-06-21 10:00:13 +08:00
commit 7a5dc32672
1441 changed files with 266348 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
const path = require('path');
const { execFileSync } = require('child_process');
const projectRoot = path.resolve(__dirname, '..');
try {
execFileSync(process.execPath, [path.join(__dirname, 'bump-web-asset-version.js'), '--auto'], {
cwd: projectRoot,
stdio: 'inherit'
});
} catch (error) {
console.error('[asset:auto] 启动前自动版本同步失败,进程终止。');
throw error;
}
require(path.join(projectRoot, 'server', 'index.js'));