merge: integrate codex/mindspace-ui
This commit is contained in:
@@ -224,6 +224,14 @@ async function writeMetadata() {
|
||||
'',
|
||||
].join('\n'),
|
||||
);
|
||||
await fs.copyFile(
|
||||
path.join(root, 'scripts', 'load-env.mjs'),
|
||||
path.join(runtimeRoot, 'scripts', 'load-env.mjs'),
|
||||
);
|
||||
await fs.copyFile(
|
||||
path.join(root, 'scripts', 'wechat-mp-menu.mjs'),
|
||||
path.join(runtimeRoot, 'scripts', 'wechat-mp-menu.mjs'),
|
||||
);
|
||||
await writeFile(
|
||||
path.join(runtimeRoot, 'RUNBOOK.txt'),
|
||||
[
|
||||
@@ -267,6 +275,7 @@ async function main() {
|
||||
await copyNodeModules();
|
||||
await writeMetadata();
|
||||
await fs.chmod(path.join(runtimeRoot, 'scripts', 'run-memind-portal-prod.sh'), 0o755);
|
||||
await fs.chmod(path.join(runtimeRoot, 'scripts', 'wechat-mp-menu.mjs'), 0o755);
|
||||
console.log('');
|
||||
console.log(`Portal runtime 已生成: ${runtimeRoot}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user