Files
Archive/sing-box/dns/transport/hosts/hosts_windows.go
2025-01-27 19:35:24 +01:00

9 lines
207 B
Go

package hosts
import _ "unsafe"
var DefaultPath = getSystemDirectory() + "/Drivers/etc/hosts"
//go:linkname getSystemDirectory internal/syscall/windows.GetSystemDirectory
func getSystemDirectory() string