From 645023255ff331c8131653715f9521815975b958 Mon Sep 17 00:00:00 2001 From: Fincer Date: Mon, 8 Feb 2016 00:30:39 +0200 Subject: [PATCH] Retrieve OpenRA & RA2 git versions --- windows/data/install.ps1 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/windows/data/install.ps1 b/windows/data/install.ps1 index 6c57080..1b53f0b 100644 --- a/windows/data/install.ps1 +++ b/windows/data/install.ps1 @@ -127,6 +127,15 @@ while ($true) $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 @@ -161,15 +170,6 @@ while ($true) Remove-Item .\data\openra-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