mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2024-08-28 05:01:33 +02:00
10 lines
355 B
PowerShell
10 lines
355 B
PowerShell
param (
|
|
[Parameter(Position = 1)]
|
|
[string]$BuildNumber = "",
|
|
[string]$GitBranch = ""
|
|
)
|
|
|
|
$path = Split-Path $Script:MyInvocation.MyCommand.Path
|
|
Write-Host "Building Windows Installer (NSIS script)";
|
|
makensis /DAPPV_BUILD=$BuildNumber /DAPPV_EXTRA=-$GitBranch-b$BuildNumber /DVERSION_INCLUDE=$path\win32.txt $path\install.nsi > $path\win32.log;
|