RynthCore as of 2026-09-27 (internal b778a81): version display, RynthChat Tell button, retail chat usable, release 2026.9.27.1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d9f6b0dd4c
commit
f407326377
15 changed files with 277 additions and 22 deletions
|
|
@ -493,6 +493,12 @@ internal static class PluginLoader
|
|||
if (strPtr != IntPtr.Zero)
|
||||
plugin.VersionString = Marshal.PtrToStringAnsi(strPtr) ?? "";
|
||||
}
|
||||
// The DLL's version resource is stamped at release time with the release and commit;
|
||||
// the plugins' own RynthPluginVersion strings are hand-written and never change.
|
||||
string fileVersion = RynthCore.App.BuildVersion.OfFile(
|
||||
plugin.SourceFilePath.Length > 0 ? plugin.SourceFilePath : plugin.FilePath);
|
||||
if (fileVersion.Length > 0)
|
||||
plugin.VersionString = fileVersion;
|
||||
|
||||
string ver = string.IsNullOrEmpty(plugin.VersionString) ? "" : $" v{plugin.VersionString}";
|
||||
string caps = BuildCapsList(plugin);
|
||||
|
|
|
|||
Loading…
Reference in a new issue