pake-cli 0.0.1-beta.15 → 0.0.1-beta.16
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
|
@@ -57,7 +57,7 @@ export default class MacBuilder implements IBuilder {
|
|
|
57
57
|
const configJsonPath = path.join(npmDirectory, 'src-tauri/tauri.conf.json');
|
|
58
58
|
await fs.writeFile(configJsonPath, Buffer.from(JSON.stringify(tauriConf), 'utf-8'));
|
|
59
59
|
|
|
60
|
-
const code = await shellExec(
|
|
60
|
+
const code = await shellExec(`cd ${npmDirectory} && npm run build`);
|
|
61
61
|
const dmgName = `${name}_${'0.2.0'}_universal.dmg`;
|
|
62
62
|
const appPath = this.getBuildedAppPath(npmDirectory, dmgName);
|
|
63
63
|
await fs.copyFile(appPath, path.resolve(dmgName));
|
package/dist/cli.js
CHANGED
|
@@ -359,7 +359,7 @@ class MacBuilder {
|
|
|
359
359
|
const npmDirectory = path.join(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
360
360
|
const configJsonPath = path.join(npmDirectory, 'src-tauri/tauri.conf.json');
|
|
361
361
|
yield fs.writeFile(configJsonPath, Buffer.from(JSON.stringify(tauriConf), 'utf-8'));
|
|
362
|
-
yield shellExec(
|
|
362
|
+
yield shellExec(`cd ${npmDirectory} && npm run build`);
|
|
363
363
|
const dmgName = `${name}_${'0.2.0'}_universal.dmg`;
|
|
364
364
|
const appPath = this.getBuildedAppPath(npmDirectory, dmgName);
|
|
365
365
|
yield fs.copyFile(appPath, path.resolve(dmgName));
|