Add private player metrics and alpha.2 package

This commit is contained in:
Emporex committed 2026-10-04 20:41:31 +02:00
1 parent b4980f0acd
commit 178a6bbc85
12 files changed
+199 -14

No files matched your search

+17 -3
View File
@@ -11,6 +11,7 @@ $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"
$installerScript = Join-Path $PSScriptRoot "installer.nsi"
$projectFile = Join-Path $projectRoot "project.godot"
foreach ($requiredFile in @($GodotExe, $MakeNsisExe, $installerScript)) {
if (-not (Test-Path -LiteralPath $requiredFile -PathType Leaf)) {
@@ -20,9 +21,22 @@ foreach ($requiredFile in @($GodotExe, $MakeNsisExe, $installerScript)) {
New-Item -ItemType Directory -Force -Path (Split-Path $gameExe), (Split-Path $installer) | Out-Null
& $GodotExe --headless --path $projectRoot --export-release "Windows x64" $gameExe
if ($LASTEXITCODE -ne 0 -or -not (Test-Path -LiteralPath $gameExe)) {
throw "Der Godot-Windows-Export ist fehlgeschlagen."
$projectConfiguration = Get-Content -LiteralPath $projectFile -Raw
$releaseConfiguration = $projectConfiguration -replace '(?m)^_MCPGameBridge=.*\r?\n?', ''
$releaseConfiguration = $releaseConfiguration -replace '"res://addons/agent_tools/plugin\.cfg",\s*', ''
try {
# Die lokale MCP-Laufzeit ist ein Entwicklungswerkzeug und wird vom
# Exportfilter ausgeschlossen. Deshalb dürfen weder ihr Autoload-Verweis
# noch das Editor-Plugin in der veröffentlichten project.binary verbleiben.
Set-Content -LiteralPath $projectFile -Value $releaseConfiguration -NoNewline
& $GodotExe --headless --path $projectRoot --export-release "Windows x64" $gameExe
if ($LASTEXITCODE -ne 0 -or -not (Test-Path -LiteralPath $gameExe)) {
throw "Der Godot-Windows-Export ist fehlgeschlagen."
}
}
finally {
Set-Content -LiteralPath $projectFile -Value $projectConfiguration -NoNewline
}
Push-Location $PSScriptRoot
+2 -2
View File
@@ -6,7 +6,7 @@ RequestExecutionLevel user
!include "LogicLib.nsh"
!define PRODUCT_NAME "Void Bastion"
!define PRODUCT_VERSION "0.1.0-alpha"
!define PRODUCT_VERSION "0.1.0-alpha.2"
!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.0"
VIProductVersion "0.1.0.2"
VIAddVersionKey /LANG=1031 "ProductName" "${PRODUCT_NAME}"
VIAddVersionKey /LANG=1031 "CompanyName" "${PRODUCT_PUBLISHER}"
VIAddVersionKey /LANG=1031 "FileDescription" "${PRODUCT_NAME} Setup"