Merge pull request #111 from wanghanzhen/feature/pake-cli
chore: update build version & pull master
This commit is contained in:
@@ -55,7 +55,7 @@ export default class MacBuilder implements IBuilder {
|
|||||||
await fs.writeFile(configJsonPath, Buffer.from(JSON.stringify(tauriConf), 'utf-8'));
|
await fs.writeFile(configJsonPath, Buffer.from(JSON.stringify(tauriConf), 'utf-8'));
|
||||||
|
|
||||||
const code = await shellExec(`cd ${npmDirectory} && npm run build`);
|
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);
|
const appPath = this.getBuildedAppPath(npmDirectory, dmgName);
|
||||||
await fs.copyFile(appPath, path.resolve(`${name}_universal.dmg`));
|
await fs.copyFile(appPath, path.resolve(`${name}_universal.dmg`));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pake-cli",
|
"name": "pake-cli",
|
||||||
"version": "0.0.5",
|
"version": "0.0.6",
|
||||||
"description": "用 Rust 来打包你的 App,底层使用 Tauri,当前支持微信读书、Flomo、Vercel",
|
"description": "用 Rust 来打包你的 App,底层使用 Tauri,当前支持微信读书、Flomo、Vercel",
|
||||||
"bin": {
|
"bin": {
|
||||||
"pake": "./cli.js"
|
"pake": "./cli.js"
|
||||||
|
|||||||
Reference in New Issue
Block a user