Bug 711792 - Speed up and simplify maintenance service update command processing. r=rstrong.

This commit is contained in:
Brian R. Bondy
2012-01-04 23:19:17 -05:00
parent 405e462fcb
commit 14b1529012
8 changed files with 145 additions and 456 deletions

View File

@@ -237,11 +237,6 @@ Section "MaintenanceService"
; WriteRegStr HKLM "${FallbackKey}\0" "name" "Mozilla Corporation"
; WriteRegStr HKLM "${FallbackKey}\0" "issuer" "Thawte Code Signing CA - G2"
SetRegView lastused
# The Mozilla/updates directory will have an inherited permission
# which allows any user to write to it. Work items are written there.
SetShellVarContext all
CreateDirectory "$APPDATA\Mozilla\updates"
SectionEnd
; By renaming before deleting we improve things slightly in case