[F] Fix build

pull/207/head
Elihuso Quigley 2024-03-31 09:30:57 +08:00
parent bc7f6395d4
commit 8730663dbc
1 changed files with 2 additions and 0 deletions

View File

@ -207,6 +207,8 @@ function copyComments() {
info.comments.forEach((c) => (c.content = autocorrect.format(c.content))); info.comments.forEach((c) => (c.content = autocorrect.format(c.content)));
fs.ensureDirSync(distPath); fs.ensureDirSync(distPath);
fs.writeFileSync(path.join(distPath, "info.json"), JSON.stringify(info)); fs.writeFileSync(path.join(distPath, "info.json"), JSON.stringify(info));
fs.writeFileSync(path.join(distPath, "info.en.json"), JSON.stringify(info));
fs.writeFileSync(path.join(distPath, "info.zh_hant.json"), JSON.stringify(info));
} }
} }