| Index: lib/updater.js |
| =================================================================== |
| --- a/lib/updater.js |
| +++ b/lib/updater.js |
| @@ -36,6 +36,10 @@ |
| function getDownloadable(forceCheck) |
| { |
| + if (!forceCheck && Preconfig.disable_auto_updates) |
|
Felix Dahlke
2015/06/09 19:40:51
I think we should be using Pref.disable_auto_updat
|
| + { |
| + return null; |
| + } |
| let url = updateUrl.replace(/%TYPE%/g, forceCheck ? TYPE_MANUAL : TYPE_AUTOMATIC); |
| let downloadable = new Downloadable(url); |
| downloadable.lastError = Prefs.update_last_error; |