2020-07-09 01:53:41 -07:00
|
|
|
//go:generate go install -v github.com/gobuffalo/packr/packr
|
|
|
|
//go:generate packr clean
|
|
|
|
//go:generate packr -z
|
2019-06-10 01:33:19 -07:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/AdguardTeam/AdGuardHome/home"
|
|
|
|
)
|
|
|
|
|
2019-06-20 04:36:26 -07:00
|
|
|
// version will be set through ldflags, contains current version
|
|
|
|
var version = "undefined"
|
|
|
|
|
|
|
|
// channel can be set via ldflags
|
|
|
|
var channel = "release"
|
|
|
|
|
2020-02-06 10:55:37 -07:00
|
|
|
// GOARM value - set via ldflags
|
2020-01-15 08:58:12 -07:00
|
|
|
var goarm = ""
|
|
|
|
|
2019-06-10 01:33:19 -07:00
|
|
|
func main() {
|
2020-01-15 08:58:12 -07:00
|
|
|
home.Main(version, channel, goarm)
|
2019-06-10 01:33:19 -07:00
|
|
|
}
|