From a975479fc3eaa0fc89341603bffb0224bed1be3d Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Thu, 21 Oct 2021 12:10:50 +0200 Subject: :hammer: Make version checker check the actual git status instead of config file for branch --- src/UserData/index.js | 1 - 1 file changed, 1 deletion(-) (limited to 'src/UserData/index.js') diff --git a/src/UserData/index.js b/src/UserData/index.js index 751c265..5ac32f6 100644 --- a/src/UserData/index.js +++ b/src/UserData/index.js @@ -25,7 +25,6 @@ function ensureMainConfig() { if (config.HTTP.port == null) { config.HTTP.port = 443; } if (config.SelfUpdater == null) { config.SelfUpdater = {}; } - if (config.SelfUpdater.branch == null) { config.SelfUpdater.branch = "master"; } if (config.SelfUpdater.checkVersionInterval == null) { config.SelfUpdater.checkVersionInterval = 1; } if (config.SelfUpdater.automaticUpdate == null) { config.SelfUpdater.automaticUpdate = false; } -- cgit v1.2.3