🐛 更新说明合并代码

This commit is contained in:
Tw93
2022-11-27 21:25:38 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ export default class MacBuilder implements IBuilder {
await fs.writeFile(configJsonPath, Buffer.from(JSON.stringify(tauriConf), 'utf-8'));
const code = await shellExec(`cd ${npmDirectory} && npm run build`);
const dmgName = `${name}_${'0.2.0'}_universal.dmg`;
const dmgName = `${name}_${tauriConf.package.version}_universal.dmg`;
const appPath = this.getBuildedAppPath(npmDirectory, dmgName);
await fs.copyFile(appPath, path.resolve(`${name}_universal.dmg`));
}

View File

@@ -1,6 +1,6 @@
{
"name": "pake-cli",
"version": "0.0.5",
"version": "0.0.6",
"description": "🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App 🤱🏻 A simple way to make any web page a desktop application using Rust.",
"bin": {
"pake": "./cli.js"