v1.2.0: 重构为插件+独立Manager架构,横版UI,精确保留文本框边距的文档转换

This commit is contained in:
雾启工作室
2026-06-28 11:12:26 +08:00
parent 790f5901cf
commit 063850ec56
38 changed files with 2669 additions and 1556 deletions

View File

@@ -10,9 +10,24 @@ namespace BetterEN5.UI
SortHint = 999;
Command = new DelegateCommand(() =>
{
BetterSeewoMainWindow.ShowWindow();
LaunchManager();
});
Predicate = _ => true;
}
private static void LaunchManager()
{
var baseDir = System.AppDomain.CurrentDomain.BaseDirectory;
var mgrPath = System.IO.Path.Combine(baseDir, "Better-Seewo.Manager.exe");
if (System.IO.File.Exists(mgrPath))
{
var psi = new System.Diagnostics.ProcessStartInfo
{
FileName = mgrPath,
UseShellExecute = true
};
System.Diagnostics.Process.Start(psi);
}
}
}
}