mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
Update powershell build script
This commit is contained in:
@@ -29,7 +29,9 @@ Move-Item $ZipName ..\..\$ZipName -Force
|
||||
cd ..\..\
|
||||
|
||||
Write-Host "Creating Installer..." -ForegroundColor Green
|
||||
$version = Get-Content -Path "Version" -Raw
|
||||
cd "Installer"
|
||||
Out-File -FilePath "version_define.nsh" -Encoding UTF8 -InputObject "!define PRODUCT_VERSION_FROM_FILE `"$version.0`""
|
||||
$nsisPath = "C:\Program Files (x86)\NSIS\makensis.exe"
|
||||
&$nsisPath installer.nsi
|
||||
Start-Sleep -Seconds 1
|
||||
|
||||
Reference in New Issue
Block a user