mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-08-12 13:27:36 +08:00
9 lines
207 B
Go
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
|