v1.2.0: 重构为插件+独立Manager架构,横版UI,精确保留文本框边距的文档转换
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user