mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-10 17:24:21 +01:00
🎨 Support one-click addition of Microsoft Defender exclusions https://github.com/siyuan-note/siyuan/issues/13650
This commit is contained in:
parent
3ddeb651c3
commit
a479dd6e3b
1 changed files with 3 additions and 0 deletions
|
|
@ -90,6 +90,9 @@ func AddMicrosoftDefenderExclusion() (err error) {
|
|||
}
|
||||
}
|
||||
|
||||
Conf.System.MicrosoftDefenderExcluded = true
|
||||
Conf.Save()
|
||||
|
||||
logging.LogInfof("added Windows Defender exclusion path [%s, %s]", installPath, util.WorkspaceDir)
|
||||
util.PushMsg(Conf.language(102), 5000)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue