fix(installer): restore full-installer scripts, add ub-Rythai component

- Build-Installer.ps1, RynthCore.iss, release.yml, BUILD.md: drop SK-era
  fragments the auto-merge left behind (undefined $PluginProjects check,
  duplicate archive block, RynthBundle-Setup names, -SkipUbRythai).
- ub-Rythai 3.1.10 as optional experimental component (ExperimentalCount
  constant replaces the hard-coded 0..4 loops).
- Build-Release-All.ps1 forwards only parameters Build-Installer declares.
- Untrack installer/_toolpublish and build_out (SK-era build output).
- Changelog/2026-10-04-sk-local-unified.md; playbook status row.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
BlankenshipG 2026-10-04 16:24:52 -04:00
commit 5166594e49
80 changed files with 105 additions and 966 deletions

View file

@ -1,31 +1,31 @@
#Requires -Version 5.1
<#
.SYNOPSIS
Builds a full Release of RynthCore + RynthSuite and produces a single Windows installer.
Builds a full Release of RynthCore + RynthSuite and produces the Windows installer.
.DESCRIPTION
1. Compiles the RynthCore.sln in Release (validates all SDK projects).
2. Invokes installer\Build-Installer.ps1, which:
- Publishes launcher, engine, injector, RynthSuite plugin(s), ub-Rythai when present, LootEditor, MonsterEditor
- Stages files under installer\staging\app\
- Compiles RynthCore.iss → installer\Output\RynthBundle-Setup.exe (requires Inno Setup 6)
- When -Version is set, archives the prior Output\RynthBundle-Setup.exe to installer\previous-release\
1. Compiles RynthCore.sln in Release (validates all SDK projects before the slow publishes).
2. Invokes installer\Build-Installer.ps1, which publishes the launcher, engine, loader,
RynthAi, the Loot/Monster editors and the experimental plugins (incl. ub-Rythai), stages
them, archives the previous installer when -Version changes, and compiles RynthCore.iss
into installer\Output\RynthCore-Setup-<version>.exe (requires Inno Setup 6).
.PARAMETER Version
Optional version string written into the installer (e.g. 0.4.1).
Installer version (e.g. 2026.10.4.7). Passed through to Build-Installer.ps1.
.PARAMETER RynthSuiteRoot
RynthSuite checkout. Default (empty): the sibling ..\RynthSuite folder.
.PARAMETER IsccPath
ISCC.exe location. Default (empty): Build-Installer.ps1 searches the usual Inno Setup paths.
.EXAMPLE
.\Build-Release-All.ps1 -Version 0.4.2
.EXAMPLE
.\Build-Release-All.ps1 -Version 0.4.2 -SkipUbRythai # CI without ub-Rythai checkout
.\Build-Release-All.ps1 -Version 2026.10.4.7
#>
param(
[string]$Version = "",
[string]$RynthSuiteRoot = "",
[string]$UbRythaiPluginProject = "",
[switch]$SkipUbRythai,
[string]$IsccPath = "C:\Program Files (x86)\Inno Setup 6\ISCC.exe"
[string]$IsccPath = ""
)
$ErrorActionPreference = "Stop"
@ -41,16 +41,11 @@ Write-Host "Building solution: $sln" -ForegroundColor Cyan
dotnet build $sln -c Release
if ($LASTEXITCODE -ne 0) { throw "Solution build failed (exit $LASTEXITCODE)" }
$invokeArgs = @{
Configuration = "Release"
IsccPath = $IsccPath
IncludeSuiteTools = $true
SkipBuild = $false
}
if ($Version) { $invokeArgs.Version = $Version }
# Only forward parameters Build-Installer.ps1 actually declares.
$invokeArgs = @{ Configuration = "Release" }
if ($Version) { $invokeArgs.Version = $Version }
if ($RynthSuiteRoot) { $invokeArgs.RynthSuiteRoot = $RynthSuiteRoot }
if ($UbRythaiPluginProject) { $invokeArgs.UbRythaiPluginProject = $UbRythaiPluginProject }
if ($SkipUbRythai) { $invokeArgs.SkipUbRythai = $true }
if ($IsccPath) { $invokeArgs.IsccPath = $IsccPath }
& (Join-Path $RepoRoot "installer\Build-Installer.ps1") @invokeArgs
if ($LASTEXITCODE -ne 0) { throw "Build-Installer.ps1 failed (exit $LASTEXITCODE)" }