Don't try to use the Mozilla Maintenance Service on Windows
Updating via the service seems to actually work (or at least it logs that it's going to use it and the update succeeds -- I didn't verify that it actually uses the service), but conditionally using a Mozilla background service only if it's installed on the system seems like a bad idea.
This commit is contained in:
parent
30f6cd44d8
commit
c0bc796fce
1 changed files with 3 additions and 0 deletions
|
@ -117,6 +117,9 @@ function modify_omni {
|
|||
replace_line 'MOZ_UPDATE_CHANNEL:.+' 'MOZ_UPDATE_CHANNEL: "none",' modules/AppConstants.jsm
|
||||
replace_line '"https:\/\/[^\/]+mozilla.com.+"' '""' modules/AppConstants.jsm
|
||||
|
||||
# Don't use Mozilla Maintenance Service on Windows
|
||||
replace_line 'MOZ_MAINTENANCE_SERVICE:' 'MOZ_MAINTENANCE_SERVICE: false \&\&' modules/AppConstants.jsm
|
||||
|
||||
# Prompt if major update is available instead of installing automatically on restart
|
||||
replace_line 'if \(!updateAuto\) \{' 'if (update.type == "major") {
|
||||
LOG("UpdateService:_selectAndInstallUpdate - prompting because it is a major update");
|
||||
|
|
Loading…
Reference in a new issue