feat(installer): full RynthCore + RynthSuite installer with user-chosen folders

- RynthCore.iss: one installer for the launcher/engine/Loot Editor and RynthSuite
  (RynthAi plugin, Monster Editor), with a second folder page for RynthSuite
  (/SUITEDIR= for silent installs), HKA Software\Rynth CoreDir/SuiteDir values and
  cleanup of 0.4.x / RynthBundle leftovers that broke the 2026-10-04 reinstall
- RynthInstallPaths: env var -> HKCU -> HKLM (32-bit) -> C:\Games default resolver,
  linked into launcher, engine, loader, injector and status agent; replaces every
  hard-coded C:\Games\RynthCore / RynthSuite path
- Launcher consumes PendingPluginRegistration on start (adds the installed RynthAi
  DLL, prunes rows for files the installer removed, syncs engine.json)
- Build-Installer.ps1: Monster Editor publish, core/suite staging, deps.json staging
  check, previous-release archiving, versioned RynthCore-Setup-<ver>.exe
- Release 2026.10.4.2 (previous 2026.10.4.1)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
BlankenshipG 2026-10-04 14:30:28 -04:00
commit f5002902c9
23 changed files with 689 additions and 116 deletions

View file

@ -21,13 +21,15 @@
using System;
using System.IO;
using RynthCore.Install;
namespace RynthCore.Engine;
internal static class LogPaths
{
/// <summary>Unified log directory for all RynthCore components.</summary>
internal const string LogDirectory = @"C:\Games\RynthCore\Logs";
// Installer-chosen RynthCore folder (registry Software\Rynth\CoreDir; falls back to C:\Games\RynthCore).
internal static readonly string LogDirectory = RynthInstallPaths.CoreLogsDir;
/// <summary>Shared launch/orchestration log (injector + launcher + per-engine session pointer).</summary>
internal const string SharedLogFileName = "RynthCore.log";