mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
progress
This commit is contained in:
parent
381f4e906e
commit
7690210eff
7 changed files with 15 additions and 19 deletions
|
@ -1,3 +1 @@
|
|||
call run_script ..\config\config.coco %2 %3 %4 %5 %6 > var.tmp
|
||||
set /p %1= < var.tmp
|
||||
del /q var.tmp
|
||||
call run_script .\get_var.ps1 ..\config\config.coco %1
|
|
@ -1,3 +1,3 @@
|
|||
powershell .\get_var.ps1 ..\\config\\downloads.coco %2 %3 %4 %5 %6 > var.tmp
|
||||
call run_script .\get_var.ps1 ..\\config\\downloads.coco %2 %3 %4 %5 %6 > var.tmp
|
||||
set /p %1= < var.tmp
|
||||
del /q var.tmp
|
|
@ -1,3 +1,3 @@
|
|||
powershell .\get_var.ps1 ..\\localisation\\%1.coco %3 %4 %5 %6 %7 > var.tmp
|
||||
call run_script .\get_var.ps1 ..\\localisation\\%1.coco %3 %4 %5 %6 %7 > var.tmp
|
||||
set /p %2= < var.tmp
|
||||
del /q var.tmp
|
|
@ -1,17 +1,17 @@
|
|||
$xml_file = [xml](get-content $args[0])
|
||||
if($args.count -eq 2)
|
||||
if($args.count -eq 3)
|
||||
{
|
||||
$xml_file.variables.($args[1])
|
||||
}
|
||||
elseif($args.count -eq 3)
|
||||
{
|
||||
$xml_file.variables.($args[1]).($args[2])
|
||||
cmd /c "set_var.bat" ($args[1]) ($xml_file.variables.($args[2]))
|
||||
}
|
||||
elseif($args.count -eq 4)
|
||||
{
|
||||
$xml_file.variables.($args[1]).($args[2]).($args[3])
|
||||
cmd /c "set_var.bat" ($args[1]) ($xml_file.variables.($args[2]).($args[3]))
|
||||
}
|
||||
elseif($args.count -eq 5)
|
||||
{
|
||||
$xml_file.variables.($args[1]).($args[2]).($args[3]).($args[4])
|
||||
cmd /c "set_var.bat" ($args[1]) ($xml_file.variables.($args[2]).($args[3]).($args[4]))
|
||||
}
|
||||
elseif($args.count -eq 6)
|
||||
{
|
||||
cmd /c "set_var.bat" ($args[1]) ($xml_file.variables.($args[2]).($args[3]).($args[4]).($args[5]))
|
||||
}
|
|
@ -1,2 +1 @@
|
|||
@echo off
|
||||
powershell "& "%*"
|
||||
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& "%*"
|
|
@ -7,9 +7,9 @@ mode con: cols=78 lines=55
|
|||
call print_header
|
||||
call print_dashed_seperator
|
||||
|
||||
call get_config version version
|
||||
call get_config author author
|
||||
call get_config copyright copyright
|
||||
call get_config.bat version
|
||||
call get_config.bat author
|
||||
call get_config.bat 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
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
@ECHO off
|
||||
powershell .\get_var.ps1 config.coco %1 > var.tmp
|
||||
set /p %1= < var.tmp
|
||||
del /q var.tmp
|
Loading…
Reference in a new issue