OpenRCT2/distribution/windows/build.ps1

12 lines
354 B
PowerShell
Raw Normal View History

param (
[Parameter(Position = 1)]
2016-01-26 19:48:09 +01:00
[string]$VersionExtra = ""
)
$path = Split-Path $Script:MyInvocation.MyCommand.Path
Write-Host "Building Windows Installer (NSIS script)";
2016-01-26 19:48:09 +01:00
Write-Host " $VersionExtra";
makensis /DAPPV_EXTRA=$VersionExtra `
2016-01-26 19:48:09 +01:00
/DVERSION_INCLUDE=$path\win32.txt `
$path\install.nsi > $path\win32.log;