You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NoiseTorch/update_noop.go

29 lines
398 B
Go

// +build !release
package main
import "errors"
type updateui struct {
serverVersion string
available bool
triggered bool
updatingText string
}
func updateCheck(ctx *ntcontext) {
}
func update(ctx *ntcontext) {
}
func fetchFile(file string) ([]byte, error) {
return make([]byte, 0), errors.New("Disabled by build flags")
}
func publickey() []byte {
return make([]byte, 0)
}