From 664db489147d95a1fcbc995a89a71cf598af42fb Mon Sep 17 00:00:00 2001 From: NAmorim Date: Wed, 29 Sep 2021 13:57:07 +0100 Subject: [PATCH] Minor typos --- Launch-Scripts/launch-linux-mac.sh | 2 +- Launch-Scripts/launch-windows.bat | 2 +- platform.js | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Launch-Scripts/launch-linux-mac.sh b/Launch-Scripts/launch-linux-mac.sh index d67c15fd60..7c9d51d427 100755 --- a/Launch-Scripts/launch-linux-mac.sh +++ b/Launch-Scripts/launch-linux-mac.sh @@ -1,4 +1,4 @@ #!/bin/sh cd .. -node run +node platform "$SHELL" \ No newline at end of file diff --git a/Launch-Scripts/launch-windows.bat b/Launch-Scripts/launch-windows.bat index 7fc1cfa6a5..51aa1d06f2 100644 --- a/Launch-Scripts/launch-windows.bat +++ b/Launch-Scripts/launch-windows.bat @@ -1,3 +1,3 @@ cd /d %~dp0 cd .. -cmd /k "node run" \ No newline at end of file +cmd /k "node platform" \ No newline at end of file diff --git a/platform.js b/platform.js index 0f45119900..1684ce7c77 100644 --- a/platform.js +++ b/platform.js @@ -1,3 +1,4 @@ +#!/usr/bin/env node /* The Superalgos Platform is a software for algo-traders: @@ -25,7 +26,7 @@ if ( console.log('') console.log('TELEGRAM COMMUNITY: https://t.me/superalgoscommunity') console.log('') - console.log('USAGE: node runPlatform [help] [noBrowser] [minMemo]') + console.log('USAGE: node platform [help] [noBrowser] [minMemo]') console.log('') console.log('OPTIONS:') console.log('') @@ -112,5 +113,5 @@ function fatalErrorHelp() { console.log('') console.log('If you continue having trouble to start the Superalgos Platform Client try:') console.log('') - console.log('node runPlatform minMemo noBrowser') + console.log('node platform minMemo noBrowser') }