🐛 Fix fnm bug

This commit is contained in:
Tw93
2023-06-28 21:55:20 +08:00
parent 284a18e7dc
commit b903081f88
3 changed files with 4 additions and 4 deletions

View File

@@ -78,7 +78,7 @@ export default abstract class BaseBuilder {
// Build app
const spinner = getSpinner('Building app...');
setTimeout(() => spinner.stop(), 3000);
await shellExec(`cd ${npmDirectory} && ${this.getBuildCommand()}`);
await shellExec(`cd "${npmDirectory}" && ${this.getBuildCommand()}`);
// Copy app
const fileName = this.getFileName();