mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-05-02 06:00:25 +03:00
Pull request: all: imp dev version handling
Merge in DNS/adguard-home from fix-version to master Squashed commit of the following: commit ecef63315fb49ae33b4c3f13c0e0be0668340e2b Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Jan 22 18:59:17 2021 +0300 updater: imp tests commit f5243918567430e467c44a48e45169db4560b58b Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Jan 22 18:48:10 2021 +0300 all: imp dev version handling
This commit is contained in:
parent
fb9acf4cbd
commit
e71019a1f3
4 changed files with 19 additions and 9 deletions
internal/home
|
@ -126,7 +126,8 @@ func Main() {
|
|||
|
||||
func setupContext(args options) {
|
||||
Context.runningAsService = args.runningAsService
|
||||
Context.disableUpdate = args.disableUpdate
|
||||
Context.disableUpdate = args.disableUpdate ||
|
||||
version.Channel() == version.ChannelDevelopment
|
||||
|
||||
Context.firstRun = detectFirstRun()
|
||||
if Context.firstRun {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue