hedgequantx 1.2.110 → 1.2.112

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/app.js +2 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hedgequantx",
3
- "version": "1.2.110",
3
+ "version": "1.2.112",
4
4
  "description": "Prop Futures Algo Trading CLI - Connect to Topstep, Alpha Futures, and other prop firms",
5
5
  "main": "src/app.js",
6
6
  "bin": {
package/src/app.js CHANGED
@@ -693,18 +693,8 @@ const handleUpdate = async () => {
693
693
  try {
694
694
  exec('npm install -g hedgequantx@latest', { stdio: 'pipe' });
695
695
  } catch (e) {
696
- // Try with sudo on Unix systems
697
- if (process.platform !== 'win32') {
698
- try {
699
- exec('sudo npm install -g hedgequantx@latest', { stdio: 'pipe' });
700
- } catch (e2) {
701
- spinner.fail('Update failed - try manually: npm install -g hedgequantx@latest');
702
- return;
703
- }
704
- } else {
705
- spinner.fail('Update failed - try manually: npm install -g hedgequantx@latest');
706
- return;
707
- }
696
+ spinner.fail('Update failed - try manually: npm install -g hedgequantx@latest');
697
+ return;
708
698
  }
709
699
 
710
700
  spinner.succeed('CLI updated!');