Revert "delete:IACore释放"

This reverts commit bfb6346812.
This commit is contained in:
2025-07-29 18:37:00 +08:00
parent 39d54cc493
commit 07328eea2d
3 changed files with 182 additions and 1 deletions
+10 -1
View File
@@ -438,7 +438,16 @@ namespace Ink_Canvas
/*if (!StoreHelper.IsStoreApp) */RootPath = AppDomain.CurrentDomain.SetupInformation.ApplicationBase;
LogHelper.NewLog(string.Format("Ink Canvas Starting (Version: {0})", Assembly.GetExecutingAssembly().GetName().Version));
// 在应用启动时自动释放IACore相关DLL
try
{
Helpers.IACoreDllExtractor.ExtractIACoreDlls();
}
catch (Exception ex)
{
LogHelper.WriteLogToFile($"释放IACore DLL时出错: {ex.Message}", LogHelper.LogType.Error);
}
// 记录应用启动(设备标识符)
DeviceIdentifier.RecordAppLaunch();