mirror of
https://github.com/fankes/komari-agent.git
synced 2025-10-18 18:49:23 +08:00
feat: 添加 Windows 安全警告功能
This commit is contained in:
13
cmd/warn.go
Normal file
13
cmd/warn.go
Normal file
@@ -0,0 +1,13 @@
|
||||
//go:build !windows
|
||||
|
||||
package cmd
|
||||
|
||||
func WarnKomariRunning() {
|
||||
// No-op on non-Windows platforms
|
||||
return
|
||||
}
|
||||
|
||||
func ShowToast() {
|
||||
// No-op on non-Windows platforms
|
||||
return
|
||||
}
|
Reference in New Issue
Block a user