🎨 Support one-click addition of Microsoft Defender exclusions https://github.com/siyuan-note/siyuan/issues/13650

This commit is contained in:
Daniel 2024-12-28 23:35:23 +08:00
parent 10d5d4f6a1
commit e6ecfc5cbb
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
8 changed files with 103 additions and 1 deletions

View file

@ -45,6 +45,8 @@ type System struct {
LockScreenMode int `json:"lockScreenMode"` // 0手动1手动+跟随系统 https://github.com/siyuan-note/siyuan/issues/9087
DisabledFeatures []string `json:"disabledFeatures"`
MicrosoftDefenderExcluded bool `json:"microsoftDefenderExcluded"` // 是否已加入 Microsoft Defender 排除项 https://github.com/siyuan-note/siyuan/issues/13650
}
func NewSystem() *System {