Add Plugins tab, remove WinForms launcher, add BUILD.md

- Add Plugins tab to Avalonia launcher with add/remove plugin DLL management
- Plugin paths sync to engine.json for runtime loading
- Engine loads plugins from custom DLL paths via EngineSettings
- Remove defunct WinForms launcher (RynthCore.App project, MainForm, Program)
- Shared source files remain in src/RynthCore.App for Avalonia and Engine
- Add BUILD.md with full publish/deploy instructions for all components

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
tombohar 2026-04-16 17:08:26 -04:00
commit 36e8208caa
14 changed files with 584 additions and 2233 deletions

View file

@ -106,6 +106,12 @@ internal static class PluginLoader
}
}
public static LoadedPlugin? LoadSingle(string sourcePath, string shadowRootDir, int generation)
{
string sessionShadowDir = PrepareShadowDirectory(shadowRootDir, generation);
return TryLoad(sourcePath, sessionShadowDir);
}
private static LoadedPlugin? TryLoad(string sourcePath, string sessionShadowDir)
{
string fileName = Path.GetFileName(sourcePath);