1
0
mirror of https://gitcode.com/github-mirrors/react-native-update-cli.git synced 2025-09-16 01:41:37 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm
2025-03-30 23:40:28 +08:00
parent 3f1b43e38e
commit b725d2b08e
3 changed files with 4 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ const g2js = require('gradle-to-js/lib/parser');
import os from 'node:os';
const properties = require('properties');
import { depVersions } from './utils/dep-versions';
import { t } from './utils/i18n';
let bsdiff;
let hdiff;
@@ -512,7 +513,7 @@ async function pack(dir: string, output: string) {
});
zipfile.end();
});
console.log(`ppk热更包已生成并保存到: ${output}`);
console.log(t('ppkPackageGenerated', { output }));
}
export function readEntire(entry: string, zipFile: ZipFile) {

View File

@@ -39,4 +39,5 @@ This can reduce the risk of inconsistent dependencies and supply chain attacks.
cancelled: 'Cancelled',
operationSuccess: 'Operation successful',
failedToParseUpdateJson: 'Failed to parse file `update.json`. Try to remove it manually.',
ppkPackageGenerated: 'ppk package generated and saved to: {{output}}',
};

View File

@@ -37,4 +37,5 @@ export default {
cancelled: '已取消',
operationSuccess: '操作成功',
failedToParseUpdateJson: '无法解析文件 `update.json`。请手动删除它。',
ppkPackageGenerated: 'ppk 热更包已生成并保存到: {{output}}',
};