improve:PPT联动

This commit is contained in:
2026-01-17 23:02:06 +08:00
parent 9d631cc980
commit 89c9c0d9ef
2 changed files with 52 additions and 11 deletions
@@ -262,6 +262,8 @@ namespace Ink_Canvas.Helpers
if (currentPriority > 0)
{
LogHelper.WriteLogToFile($"ROT扫描: {displayName}: priority={currentPriority}", LogHelper.LogType.Trace);
if (currentPriority > highestPriority)
{
highestPriority = currentPriority;
@@ -291,6 +293,15 @@ namespace Ink_Canvas.Helpers
}
bestPriority = highestPriority;
if (bestApp != null)
{
LogHelper.WriteLogToFile($"ROT扫描完成: 找到最佳应用, priority={bestPriority}", LogHelper.LogType.Trace);
}
else
{
LogHelper.WriteLogToFile($"ROT扫描完成: 未找到可用应用", LogHelper.LogType.Trace);
}
}
catch (Exception ex)
{