pkg/driver/wintun/amd64.go
//go:build windows && amd64
package wintun
import (
"embed"
)
//go:embed bin/amd64/wintun.dll
var wintunFs embed.FS
func InstallWintunDriver() error {
bytes, err := wintunFs.ReadFile("bin/amd64/wintun.dll")
if err != nil {
return err
}
return copyDriver(bytes)
}