diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2021-10-21 12:10:50 +0200 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2021-10-21 12:10:50 +0200 |
commit | a975479fc3eaa0fc89341603bffb0224bed1be3d (patch) | |
tree | cc1fb0f5260889fea379d30666c11af5bcd14b83 /src/UserData/index.js | |
parent | 12b695fdc5389bc6a7d9c1e22be15ed1247c9522 (diff) | |
download | Luxcena-Neo-a975479fc3eaa0fc89341603bffb0224bed1be3d.tar.gz Luxcena-Neo-a975479fc3eaa0fc89341603bffb0224bed1be3d.zip |
:hammer: Make version checker check the actual git status instead of config file for branch
Diffstat (limited to 'src/UserData/index.js')
-rw-r--r-- | src/UserData/index.js | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |