diff --git a/scripts/windows/coco-dev-setup/batch/scripts/get_config.bat b/scripts/windows/coco-dev-setup/batch/scripts/get_config.bat index bb9b9dd34..3e069f7be 100755 --- a/scripts/windows/coco-dev-setup/batch/scripts/get_config.bat +++ b/scripts/windows/coco-dev-setup/batch/scripts/get_config.bat @@ -1,3 +1,3 @@ -powershell .\get_var.ps1 ..\\config\\config.coco %2 %3 %4 %5 %6 > var.tmp +call run_script ..\config\config.coco %2 %3 %4 %5 %6 > var.tmp set /p %1= < var.tmp del /q var.tmp \ No newline at end of file diff --git a/scripts/windows/coco-dev-setup/batch/scripts/get_language.bat b/scripts/windows/coco-dev-setup/batch/scripts/get_language.bat index 54223b7c0..eb9c88ef5 100755 --- a/scripts/windows/coco-dev-setup/batch/scripts/get_language.bat +++ b/scripts/windows/coco-dev-setup/batch/scripts/get_language.bat @@ -5,7 +5,7 @@ call print_dashed_seperator call get_array ..\\localisation\\languages.coco languages language_count for /l %%i in (1,1,%language_count%) do ( - call get_text !languages[%%i]! "global-native" + call get_text !languages[%%i]! global_native global native echo [%%i] !global_native! ) @@ -27,10 +27,10 @@ goto:get_localisation_id goto:get_localisation_id ) else ( set language_id=!languages[%local_id%]! - call get_text !language_id! "global-native" + call get_text !language_id! global_native global native call print_dashed_seperator echo You have choosen !global_native! as your language. - call get_text !language_id! "global-intro" + call get_text !language_id! global_intro global intro echo !global_intro! call print_seperator ) \ No newline at end of file diff --git a/scripts/windows/coco-dev-setup/batch/scripts/setup.bat b/scripts/windows/coco-dev-setup/batch/scripts/setup.bat index df02ccc36..3eb2b5fee 100755 --- a/scripts/windows/coco-dev-setup/batch/scripts/setup.bat +++ b/scripts/windows/coco-dev-setup/batch/scripts/setup.bat @@ -7,13 +7,15 @@ mode con: cols=78 lines=55 call print_header call print_dashed_seperator -call get_config version -call get_config author -call get_config copyright +call get_config version version +call get_config author author +call get_config copyright copyright echo Welcome to the automated Installation of the CodeCombat Dev. Environment! echo v%version% authored by %author% and published by %copyright%. call print_seperator +pause + echo Before we start the installation, here are some tips: call print_tips call print_seperator