From e90367d261d9c02b083d87498a75387f3ea22368 Mon Sep 17 00:00:00 2001 From: andremcguire Date: Fri, 15 Mar 2019 15:35:58 +1100 Subject: [PATCH] changes to startup --- start_linux.sh | 5 +++-- start_windows.bat | 14 ++++---------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/start_linux.sh b/start_linux.sh index 23ad66b..0432fa5 100755 --- a/start_linux.sh +++ b/start_linux.sh @@ -1,10 +1,11 @@ #!/bin/sh -npm install --prefix Excel_Addin - echo "Please provide your user ID:" read userID echo "Starting action logger with userID: $userID" +npm install --prefix Excel_Addin +npm install --prefix append_http + (npm start --prefix Excel_Addin & npm start $userID --prefix append_http) diff --git a/start_windows.bat b/start_windows.bat index 3eb89e5..26a3b2a 100644 --- a/start_windows.bat +++ b/start_windows.bat @@ -1,3 +1,6 @@ +set /p @userID="Please provide your user ID: " + +echo "Starting action logger with userID: %@userID%" cd Excel_Addin call npm install @@ -6,14 +9,5 @@ cd append_http call npm install cd .. - -echo "Please provide your user ID:" - -read userID - -echo "Starting action logger with userID: $userID" - - -start npm start $userID --prefix append_http +start npm start %@userID% --prefix append_http call npm start --prefix Excel_Addin -