daily update on 20250127 by nitload youmu, schema and element splitter complete, builtin defination building

This commit is contained in:
Nitload
2025-01-28 08:52:16 +08:00
parent 190d67a034
commit e687473132
134 changed files with 17949 additions and 867 deletions
@@ -39,8 +39,6 @@ using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using Windows.Win32.UI.WindowsAndMessaging;
namespace StgSharp
{
public static class Dialogue
@@ -68,7 +66,7 @@ namespace StgSharp
private static void AssertThread()
{
if (_readAndWriteThreadId != Thread.CurrentThread.ManagedThreadId)
if (_readAndWriteThreadId != Environment.CurrentManagedThreadId)
{
throw new InvalidOperationException("Communication with dialogue can only call from certain thread.");
}
@@ -122,7 +120,7 @@ namespace StgSharp
throw new PlatformNotSupportedException( "Unknown OS platform" );
}
string consoleRoute = $"{path}{Path.DirectorySeparatorChar}StgSharpTerminalDialogue{Path.DirectorySeparatorChar}StgSharpTerminalDialogue{exeName}";
string consoleRoute = Path.Combine(path, @"StgSharpTerminalDialogue", $@"StgSharpTerminalDialogue{exeName}");
_dialogueProcessInfo = new ProcessStartInfo
{