🎨 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:49:28 +08:00
parent e6ecfc5cbb
commit f65f243f05
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -14,12 +14,11 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//go:build windows
package model
import (
"github.com/siyuan-note/logging"
"github.com/siyuan-note/siyuan/kernel/util"
"golang.org/x/sys/windows"
"os"
"os/exec"
"path/filepath"
@ -27,7 +26,11 @@ import (
"strings"
"syscall"
"golang.org/x/sys/windows"
"github.com/88250/gulu"
"github.com/siyuan-note/logging"
"github.com/siyuan-note/siyuan/kernel/util"
)
func processMicrosoftDefender() {