Index: lib/updater.js |
=================================================================== |
--- a/lib/updater.js |
+++ b/lib/updater.js |
@@ -36,6 +36,10 @@ |
function getDownloadable(forceCheck) |
{ |
+ if (!forceCheck && Pref.disable_auto_updates) |
+ { |
+ return null; |
+ } |
let url = updateUrl.replace(/%TYPE%/g, forceCheck ? TYPE_MANUAL : TYPE_AUTOMATIC); |
let downloadable = new Downloadable(url); |
downloadable.lastError = Prefs.update_last_error; |