Closed aiolos closed 6 years ago
Maybe its better to call the variable "disable_update_check". else its might be misstaken for automatic update or similar.
Good point, that makes it more clear. I will update the PR tonight.
I renamed the config option.
@DewGew I like the fact that this functionality exists (I think you added it), I just want to have the option that it doesn't check it. For most people it will be useful there is a check, since it might solve issues they have.
I added an option to disable the check for updates. A few reasons: it takes extra time to do the extra calls, I don't want too many calls to the outside world and I don't need it since I dedice myself when I want to update.
Unfortunately I couldn't take the normal road of adding a default value in
settings.js
. This is becausesettings.js
itself needsversion.js
to be loaded (it uses some of the variables), soversion.js
needs to be loaded first. (This dependency on scripts loaded in a certain order itself might need some investigation too)Usage: Add
to your
CONFIG.js
to disable the checks.