aboutsummaryrefslogtreecommitdiff
path: root/update_noop.go
blob: bdd76988f0f19bb96d9d464b7a8f84b06c0a7060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// +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)
}