go-watchdog/cmd/watchdog/installer/install_windows.go

18 lines
580 B
Go

package installer
import (
"fmt"
//"golang.org/x/sys/windows"
)
// See
// https://github.com/golang/go/issues/28804
// https://stackoverflow.com/questions/31558066/how-to-ask-for-administer-privileges-on-windows-with-go/31561120
// https://stackoverflow.com/questions/27366298/check-if-application-is-running-as-administrator-in-golang
// https://www.reddit.com/r/golang/comments/53dthc/way_to_detect_if_the_programs_running_with/
// https://play.golang.org/p/bBtRZrk4_p
func install(c *Config) error {
//token := windows.Token(0)
return fmt.Errorf("not yet implemented")
}