Prepare Void Bastion alpha 7 release
This commit is contained in:
1 parent
56077e88a5
commit
e63e08ddde
18 files changed
+799
-95
No files matched your search
@@ -2,11 +2,30 @@ param(
|
||||
[Parameter(Mandatory = $true)]
|
||||
[string]$GodotExe,
|
||||
|
||||
[Parameter(Mandatory = $true)]
|
||||
[string]$MakeNsisExe
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
$nsisCandidates = @()
|
||||
if (-not [string]::IsNullOrWhiteSpace($MakeNsisExe)) {
|
||||
$nsisCandidates += $MakeNsisExe
|
||||
} else {
|
||||
$pathNsis = Get-Command "makensis.exe" -ErrorAction SilentlyContinue
|
||||
if ($pathNsis) {
|
||||
$nsisCandidates += $pathNsis.Source
|
||||
}
|
||||
$nsisCandidates += @(
|
||||
(Join-Path $env:LOCALAPPDATA "Programs\NSIS-3.13\makensis.exe"),
|
||||
"C:\Program Files (x86)\NSIS\makensis.exe",
|
||||
"C:\Program Files\NSIS\makensis.exe"
|
||||
)
|
||||
$MakeNsisExe = $nsisCandidates | Where-Object { Test-Path -LiteralPath $_ -PathType Leaf } | Select-Object -First 1
|
||||
}
|
||||
|
||||
if ([string]::IsNullOrWhiteSpace($MakeNsisExe)) {
|
||||
throw "NSIS wurde nicht gefunden. Installiere NSIS oder übergib -MakeNsisExe mit dem Pfad zu makensis.exe."
|
||||
}
|
||||
|
||||
$projectRoot = (Resolve-Path (Join-Path $PSScriptRoot "..\..")).Path
|
||||
$gameExe = Join-Path $projectRoot "build\windows\Void-Bastion.exe"
|
||||
$installer = Join-Path $projectRoot "dist\Void-Bastion-Setup-x64.exe"
|
||||
|
||||
@@ -6,7 +6,7 @@ RequestExecutionLevel user
|
||||
!include "LogicLib.nsh"
|
||||
|
||||
!define PRODUCT_NAME "Void Bastion"
|
||||
!define PRODUCT_VERSION "0.1.0-alpha.5"
|
||||
!define PRODUCT_VERSION "0.1.0-alpha.7"
|
||||
!define PRODUCT_PUBLISHER "GerGames"
|
||||
!define PRODUCT_WEBSITE "https://void-bastion.gergames.de/"
|
||||
!define PRODUCT_EXE "Void-Bastion.exe"
|
||||
@@ -21,7 +21,7 @@ BrandingText "GerGames"
|
||||
ShowInstDetails show
|
||||
ShowUninstDetails show
|
||||
|
||||
VIProductVersion "0.1.0.5"
|
||||
VIProductVersion "0.1.0.7"
|
||||
VIAddVersionKey /LANG=1031 "ProductName" "${PRODUCT_NAME}"
|
||||
VIAddVersionKey /LANG=1031 "CompanyName" "${PRODUCT_PUBLISHER}"
|
||||
VIAddVersionKey /LANG=1031 "FileDescription" "${PRODUCT_NAME} Setup"
|
||||
|
||||
Reference in new issue
Block a user