Moved all the scripts in a folder and made a root setup, to make it much cleaner and prevent confusion for the end-user

This commit is contained in:
Glen De Cauwsemaecker 2014-03-24 03:55:40 +01:00
parent 1c092deff6
commit 7e7d3ed988
30 changed files with 45 additions and 43 deletions

View file

@ -1,3 +0,0 @@
for /f "delims=" %%a in ('utilities\\get_category.exe %*') do (
%%a
)

View file

@ -1 +0,0 @@
for /f "delims=" %%a in ('utilities\\get_var.exe config\\config.coco %1') do set "%%a"

View file

@ -1 +0,0 @@
for /f "delims=" %%a in ('utilities\\get_var.exe config\\downloads.coco %1') do set "%%a"

View file

@ -1,3 +0,0 @@
for /f "delims=" %%a in ('utilities\\get_var.exe localisation\\%1.coco %2') do (
set "%%a"
)

View file

@ -1 +0,0 @@
print_file config/header.coco

View file

@ -1 +0,0 @@
print_file config/info.coco

View file

@ -1 +0,0 @@
print_file config/license.coco

View file

@ -1 +0,0 @@
print_file config/tips.coco

View file

@ -7,7 +7,7 @@ if %system_info_os% == XP (
call print_exit
)
call get_category config\\downloads.coco downloads downloads_count general-general general-%system_info_bit% %system_info_os%-%system_info_bit%
call get_category ..\\config\\downloads.coco downloads downloads_count general-general general-%system_info_bit% %system_info_os%-%system_info_bit%
::for /l %%i in (1, 1, %downloads_count%) do (
:: echo %downloads[%%i]%

View file

@ -0,0 +1,3 @@
for /f "delims=" %%a in ('..\\utilities\\get_category.exe %*') do (
%%a
)

View file

@ -0,0 +1 @@
for /f "delims=" %%a in ('..\\utilities\\get_var.exe ..\\config\\config.coco %1') do set "%%a"

View file

@ -0,0 +1 @@
for /f "delims=" %%a in ('..\\utilities\\get_var.exe ..\\config\\downloads.coco %1') do set "%%a"

View file

@ -3,7 +3,7 @@ echo but most feedback is sent and localised by us.
echo Here is a list of languages:
call print_dashed_seperator
call get_array localisation\\languages.coco languages language_count
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"
echo [%%i] !global_native!

View file

@ -0,0 +1,3 @@
for /f "delims=" %%a in ('..\\utilities\\get_var.exe ..\\localisation\\%1.coco %2') do (
set "%%a"
)

View file

@ -0,0 +1 @@
call print_file ..\\config\\header.coco

View file

@ -0,0 +1 @@
print_file ..\\config\\info.coco

View file

@ -0,0 +1 @@
print_file ..\\config\\license.coco

View file

@ -0,0 +1 @@
print_file ..\\config\\tips.coco

View file

@ -0,0 +1,29 @@
@echo off
setlocal EnableDelayedExpansion
Color 0A
mode con: cols=78 lines=60
call print_header
call print_dashed_seperator
call get_config version
call get_config author
call get_config 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
echo Before we start the installation, here are some tips:
call print_tips
call print_seperator
call sign_license
call get_language
call download_and_install_applications
pause
endlocal

View file

@ -1,29 +1,2 @@
@echo off
setlocal EnableDelayedExpansion
Color 0A
mode con: cols=78 lines=60
call print_header
call print_dashed_seperator
call get_config version
call get_config author
call get_config 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
echo Before we start the installation, here are some tips:
call print_tips
call print_seperator
call sign_license
call get_language
call download_and_install_applications
pause
endlocal
cd scripts
setup.bat