mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
完善翻译,添加翻译缺失检查工具
This commit is contained in:
1 parent
82c193b5ee
commit
13e3e0ec98
19 files changed
+242
-90
No files matched your search
+1
-1
@@ -5,7 +5,7 @@ async function install() {
|
||||
if (!global.Hydro) throw new Error('Data missing');
|
||||
if (!fs.existsSync('hydro')) fs.mkdirSync('hydro');
|
||||
const hydro = JSON.parse(zlib.gunzipSync(global.Hydro).toString());
|
||||
fs.writeFileSync('development.js', hydro.app);
|
||||
fs.writeFileSync('app.js', hydro.app);
|
||||
for (const i in hydro.modules) {
|
||||
fs.writeFileSync(`${i}.hydro`, Buffer.from(hydro.modules[i], 'base64'));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user