hedgequantx 2.8.0 → 2.8.1
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/package.json +1 -1
- package/src/menus/dashboard.js +4 -12
package/package.json
CHANGED
package/src/menus/dashboard.js
CHANGED
|
@@ -242,18 +242,10 @@ const handleUpdate = async () => {
|
|
|
242
242
|
|
|
243
243
|
spinner.succeed(`UPDATED TO V${latestVersion}!`);
|
|
244
244
|
console.log(chalk.green('\n ✓ UPDATE SUCCESSFUL!'));
|
|
245
|
-
console.log(chalk.
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
const child = spawn('hqx', [], {
|
|
250
|
-
detached: true,
|
|
251
|
-
stdio: 'inherit',
|
|
252
|
-
shell: true
|
|
253
|
-
});
|
|
254
|
-
child.unref();
|
|
255
|
-
|
|
256
|
-
// Exit current process to let new one take over
|
|
245
|
+
console.log(chalk.yellow('\n Please restart HQX to use the new version.'));
|
|
246
|
+
console.log(chalk.cyan(' Run: hqx'));
|
|
247
|
+
console.log();
|
|
248
|
+
await prompts.waitForEnter();
|
|
257
249
|
process.exit(0);
|
|
258
250
|
|
|
259
251
|
} catch (error) {
|