mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 10:32:19 +08:00
feat: 启动UI时自动设置工作目录,便于正确加载DLL
This commit is contained in:
@@ -55,6 +55,7 @@ namespace MeoAsstGui
|
||||
/// <remarks>初始化些啥自己加。</remarks>
|
||||
protected override void OnStart()
|
||||
{
|
||||
System.IO.Directory.SetCurrentDirectory(AppDomain.CurrentDomain.BaseDirectory);
|
||||
base.OnStart();
|
||||
ViewStatusStorage.Load();
|
||||
Localization.Load();
|
||||
|
||||
Reference in New Issue
Block a user