| 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) |
|
Eric
2015/06/10 17:48:16
This would read more clearly if we were using "ena
Felix Dahlke
2015/06/11 20:21:13
I've wondered about that too, but IMHO disable mak
Oleksandr
2015/06/12 07:36:14
This is subjective, of course, but I think enable_
|
| + { |
| + return null; |
| + } |
| let url = updateUrl.replace(/%TYPE%/g, forceCheck ? TYPE_MANUAL : TYPE_AUTOMATIC); |
| let downloadable = new Downloadable(url); |
| downloadable.lastError = Prefs.update_last_error; |