2021-08-24 04:37:44 +08:00
|
|
|
//go:build windows
|
2020-05-28 05:42:59 +08:00
|
|
|
|
2022-04-07 04:49:41 +08:00
|
|
|
package port_name
|
2020-05-28 05:42:59 +08:00
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"os"
|
|
|
|
|
"path/filepath"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func servicesPath() string {
|
2023-08-15 05:18:20 +08:00
|
|
|
return filepath.Join(os.Getenv("WINDIR"), "system32", "drivers", "etc", "services")
|
2020-05-28 05:42:59 +08:00
|
|
|
}
|