improve:插件功能

This commit is contained in:
2025-07-16 13:50:32 +08:00
parent dcf88ee510
commit 8b64df435c
3 changed files with 115 additions and 2 deletions
+3 -2
View File
@@ -401,8 +401,9 @@ namespace Ink_Canvas.Helpers.Plugins
LogHelper.WriteLogToFile($"插件状态变更: {plugin.Name} = {(isEnabled ? "" : "")}", LogHelper.LogType.Info);
// 触发自动保存
TriggerAutoSave();
// 立即同步保存配置(不再使用延迟自动保存
SaveConfig();
LogHelper.WriteLogToFile($"插件 {plugin.Name} 状态已立即保存到配置文件", LogHelper.LogType.Info);
}
}
}