pake-cli 0.0.1-beta.10 → 0.0.1-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/builders/MacBuilder.ts +1 -1
- package/dist/cli.js +1 -1
- package/package.json +1 -1
|
@@ -55,7 +55,7 @@ export default class MacBuilder implements IBuilder {
|
|
|
55
55
|
const configJsonPath = `${dirPath}/config.json`;
|
|
56
56
|
await fs.writeFile(configJsonPath, Buffer.from(JSON.stringify(tauriConf), 'utf-8'));
|
|
57
57
|
|
|
58
|
-
const code = await shellExec(
|
|
58
|
+
const code = await shellExec(`${path.join(appRootPath.path, '/node_modules/@tauri-apps/cli/tauri.js')} build --config ${configJsonPath} --target universal-apple-darwin`);
|
|
59
59
|
const dmgName = `${name}_${'0.2.0'}_universal.dmg`;
|
|
60
60
|
await fs.copyFile(this.getBuildedAppPath(dmgName), path.resolve(dmgName));
|
|
61
61
|
}
|
package/dist/cli.js
CHANGED
|
@@ -360,7 +360,7 @@ class MacBuilder {
|
|
|
360
360
|
const { path: dirPath } = yield dir();
|
|
361
361
|
const configJsonPath = `${dirPath}/config.json`;
|
|
362
362
|
yield fs.writeFile(configJsonPath, Buffer.from(JSON.stringify(tauriConf), 'utf-8'));
|
|
363
|
-
yield shellExec(
|
|
363
|
+
yield shellExec(`${path.join(appRootPath.path, '/node_modules/@tauri-apps/cli/tauri.js')} build --config ${configJsonPath} --target universal-apple-darwin`);
|
|
364
364
|
const dmgName = `${name}_${'0.2.0'}_universal.dmg`;
|
|
365
365
|
yield fs.copyFile(this.getBuildedAppPath(dmgName), path.resolve(dmgName));
|
|
366
366
|
});
|