2020-07-09 11:53:41 +03:00
|
|
|
//go:generate go install -v github.com/gobuffalo/packr/packr
|
|
|
|
//go:generate packr clean
|
|
|
|
//go:generate packr -z
|
2019-06-10 11:33:19 +03:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2020-10-30 13:32:02 +03:00
|
|
|
"github.com/AdguardTeam/AdGuardHome/internal/home"
|
2019-06-10 11:33:19 +03:00
|
|
|
)
|
|
|
|
|
2020-12-07 16:04:53 +03:00
|
|
|
// version is the release version. It is set by the linker.
|
2019-06-20 14:36:26 +03:00
|
|
|
var version = "undefined"
|
|
|
|
|
2020-12-07 16:04:53 +03:00
|
|
|
// channel is the release channel. It is set by the linker.
|
2019-06-20 14:36:26 +03:00
|
|
|
var channel = "release"
|
|
|
|
|
2020-12-07 16:04:53 +03:00
|
|
|
// goarm is the GOARM value. It is set by the linker.
|
2020-01-15 18:58:12 +03:00
|
|
|
var goarm = ""
|
|
|
|
|
2020-12-07 16:04:53 +03:00
|
|
|
// gomips is the GOMIPS value. It is set by the linker.
|
|
|
|
//
|
|
|
|
// TODO(a.garipov): Implement.
|
|
|
|
var gomips = ""
|
|
|
|
|
2019-06-10 11:33:19 +03:00
|
|
|
func main() {
|
2020-12-07 16:04:53 +03:00
|
|
|
home.Main(version, channel, goarm, gomips)
|
2019-06-10 11:33:19 +03:00
|
|
|
}
|