hedgequantx 2.6.12 → 2.6.14

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hedgequantx",
3
- "version": "2.6.12",
3
+ "version": "2.6.14",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -38,7 +38,7 @@ const dashboardMenu = async (service) => {
38
38
 
39
39
  // Continue from banner (use ╠ not ╔)
40
40
  console.log(chalk.cyan('╠' + '═'.repeat(W) + '╣'));
41
- console.log(makeLine(chalk.yellow.bold('WELCOME, HQX TRADER!'), 'center'));
41
+ console.log(makeLine(chalk.cyan.bold('WELCOME, HQX TRADER!'), 'center'));
42
42
  console.log(chalk.cyan('╠' + '═'.repeat(W) + '╣'));
43
43
 
44
44
  // Show connected propfirms
@@ -219,23 +219,11 @@ const handleUpdate = async () => {
219
219
  }
220
220
 
221
221
  spinner.succeed(`UPDATED TO v${latestVersion}!`);
222
- console.log(chalk.cyan(' RESTARTING HQX...'));
223
-
224
- await new Promise(r => setTimeout(r, 1500));
225
-
226
- try {
227
- const child = spawn('hqx', [], {
228
- stdio: 'inherit',
229
- detached: true,
230
- shell: true
231
- });
232
- child.unref();
233
- process.exit(0);
234
- } catch (e) {
235
- console.log(chalk.yellow('\n PLEASE RESTART HQX MANUALLY:'));
236
- console.log(chalk.white(' hqx'));
237
- await prompts.waitForEnter();
238
- }
222
+ console.log(chalk.green('\n UPDATE COMPLETE!'));
223
+ console.log(chalk.yellow(' PLEASE RESTART HQX TO USE NEW VERSION:'));
224
+ console.log(chalk.white(' hqx\n'));
225
+ await prompts.waitForEnter();
226
+ process.exit(0);
239
227
 
240
228
  } catch (error) {
241
229
  if (spinner) spinner.fail('UPDATE ERROR');