🎨 Continue using npm
This commit is contained in:
1
bin/helpers/merge.ts
vendored
1
bin/helpers/merge.ts
vendored
@@ -268,7 +268,6 @@ export async function mergeConfig(
|
||||
);
|
||||
|
||||
const bundleConf = { bundle: tauriConf.bundle };
|
||||
console.log('pakeConfig', tauriConf.pake);
|
||||
await fsExtra.outputJSON(configPath, bundleConf, { spaces: 4 });
|
||||
const pakeConfigPath = path.join(tauriConfigDirectory, 'pake.json');
|
||||
await fsExtra.outputJSON(pakeConfigPath, tauriConf.pake, { spaces: 4 });
|
||||
|
||||
6
bin/helpers/rust.ts
vendored
6
bin/helpers/rust.ts
vendored
@@ -21,10 +21,10 @@ export async function installRust() {
|
||||
await shellExec(
|
||||
IS_WIN ? rustInstallScriptForWindows : rustInstallScriptForMac,
|
||||
);
|
||||
spinner.succeed(chalk.green('Rust installed successfully!'));
|
||||
spinner.succeed(chalk.green('✔ Rust installed successfully!'));
|
||||
} catch (error) {
|
||||
console.error('Error installing Rust:', error.message);
|
||||
spinner.fail(chalk.red('Rust installation failed!'));
|
||||
spinner.fail(chalk.red('✕ Rust installation failed!'));
|
||||
console.error(error.message);
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user