diff --git a/kernel/model/elevator.go b/kernel/model/elevator.go index 147a0e785..40c4ba4f4 100644 --- a/kernel/model/elevator.go +++ b/kernel/model/elevator.go @@ -14,12 +14,11 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +//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() {