*(global): fix ARM build auto-update

 Closes: https://github.com/AdguardTeam/AdGuardHome/issues/1391
This commit is contained in:
Andrey Meshkov
2020-02-06 20:55:37 +03:00
parent fc88f59f61
commit 808618602c
4 changed files with 10 additions and 5 deletions

View File

@@ -101,7 +101,11 @@ func run(args options) {
configureLogger(args)
// print the first message after logger is configured
log.Printf("AdGuard Home, version %s, channel %s\n", versionString, updateChannel)
msg := "AdGuard Home, version %s, channel %s\n, arch %s %s"
if ARMVersion != "" {
msg = msg + " v" + ARMVersion
}
log.Printf(msg, versionString, updateChannel, runtime.GOOS, runtime.GOARCH, ARMVersion)
log.Debug("Current working directory is %s", config.ourWorkingDir)
if args.runningAsService {
log.Info("AdGuard Home is running as a service")