Browse Source

Retrieve OpenRA & RA2 git versions

master
Fincer 8 years ago
parent
commit
645023255f
1 changed files with 9 additions and 9 deletions
  1. +9
    -9
      windows/data/install.ps1

+ 9
- 9
windows/data/install.ps1 View File

@ -127,6 +127,15 @@ while ($true)
$ra2_gitversion = [IO.File]::ReadAllText(".\data\ra2-latestcommit.txt").trim("`r`n") $ra2_gitversion = [IO.File]::ReadAllText(".\data\ra2-latestcommit.txt").trim("`r`n")
#------------------------------------------------------
## Prepare OpenRA source code for Tiberian Sun & Red Alert 2
Start-Sleep -s 3
"`nPatching OpenRA source code for Tiberian Sun & Red Alert 2."
cd .\data
.\patch.exe -d OpenRA-bleed -Np1 -i ..\openra-srcpatch.patch
cd ..
#------------------------------------------------------ #------------------------------------------------------
## Push version numbers to mod files ## Push version numbers to mod files
@ -161,15 +170,6 @@ while ($true)
Remove-Item .\data\openra-latestcommit.txt Remove-Item .\data\openra-latestcommit.txt
Remove-Item .\data\ra2-latestcommit.txt Remove-Item .\data\ra2-latestcommit.txt
#------------------------------------------------------
## Prepare OpenRA source code for Tiberian Sun & Red Alert 2
Start-Sleep -s 3
"`nPatching OpenRA source code for Tiberian Sun & Red Alert 2."
cd .\data
.\patch.exe -d OpenRA-bleed -Np1 -i ..\openra-srcpatch.patch
cd ..
#------------------------------------------------------ #------------------------------------------------------
## Compile OpenRA with Tiberian Sun & Red Alert 2 ## Compile OpenRA with Tiberian Sun & Red Alert 2


Loading…
Cancel
Save