go-watchdog/cmd/install/install_windows.go

18 lines
552 B
Go
Raw Normal View History

2019-06-25 03:34:18 +00:00
package main
import (
"log"
//"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() {
//token := windows.Token(0)
log.Fatal("not yet implemented")
}