eb6c4eb132
Close #1239 Squashed commit of the following: commit 707e2f8e265e294c7b1328c375648f799a5ae293 Author: Simon Zolin <s.zolin@adguard.com> Date: Fri Jan 10 16:32:52 2020 +0300 leave "AdGuardHome_linux_arm" by default commit cca01fd03200e70d6ee2201540570382f2b7fdf4 Author: Simon Zolin <s.zolin@adguard.com> Date: Fri Jan 10 14:53:37 2020 +0300 fix auto-update; update readme commit f393a4f511861ef1998c68775bb8f234c5ce1838 Author: Simon Zolin <s.zolin@adguard.com> Date: Fri Jan 10 13:00:37 2020 +0300 + release.sh: add armv5 build; rename armv6 build commit 73f2d20ba6b0a94a9929882fe15175ba80b528d7 Author: Simon Zolin <s.zolin@adguard.com> Date: Fri Jan 10 12:59:55 2020 +0300 * release.sh: fix indentation
22 lines
376 B
Go
22 lines
376 B
Go
package main
|
|
|
|
import (
|
|
"runtime/debug"
|
|
|
|
"github.com/AdguardTeam/AdGuardHome/home"
|
|
)
|
|
|
|
// version will be set through ldflags, contains current version
|
|
var version = "undefined"
|
|
|
|
// channel can be set via ldflags
|
|
var channel = "release"
|
|
|
|
// ARM version number. Set via linker flags.
|
|
var goarm = ""
|
|
|
|
func main() {
|
|
debug.SetGCPercent(10)
|
|
home.Main(version, channel, goarm)
|
|
}
|