From c9dc44efd1371eea35acd2d3a749d3bca5563a0e Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 31 Dec 2024 23:12:10 +0800 Subject: [PATCH] :art: Support one-click addition of Microsoft Defender exclusions https://github.com/siyuan-note/siyuan/issues/13650 --- kernel/api/system.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/api/system.go b/kernel/api/system.go index 14c986b32..daf85c72a 100644 --- a/kernel/api/system.go +++ b/kernel/api/system.go @@ -283,6 +283,7 @@ func exportConf(c *gin.Context) { clonedConf.System.Container = "" clonedConf.System.IsMicrosoftStore = false clonedConf.System.IsInsider = false + clonedConf.System.MicrosoftDefenderExcluded = false } clonedConf.Sync = nil clonedConf.Stat = nil