зеркало из https://github.com/mozilla/gecko-dev.git
Bug 452254 - Register for audio/video .ogg and .pdf file handlers if nothing else has. r=jmathies
This commit is contained in:
Родитель
54851b2e41
Коммит
313392a942
|
@ -430,6 +430,30 @@ FunctionEnd
|
||||||
WriteRegStr SHCTX "$0\.xhtml" "" "FirefoxHTML"
|
WriteRegStr SHCTX "$0\.xhtml" "" "FirefoxHTML"
|
||||||
${EndIf}
|
${EndIf}
|
||||||
|
|
||||||
|
; Only add .oga if it's not present
|
||||||
|
${CheckIfRegistryKeyExists} "$0" ".oga" $7
|
||||||
|
${If} $7 == "false"
|
||||||
|
WriteRegStr SHCTX "$0\.oga" "" "FirefoxHTML"
|
||||||
|
${EndIf}
|
||||||
|
|
||||||
|
; Only add .ogg if it's not present
|
||||||
|
${CheckIfRegistryKeyExists} "$0" ".ogg" $7
|
||||||
|
${If} $7 == "false"
|
||||||
|
WriteRegStr SHCTX "$0\.ogg" "" "FirefoxHTML"
|
||||||
|
${EndIf}
|
||||||
|
|
||||||
|
; Only add .ogv if it's not present
|
||||||
|
${CheckIfRegistryKeyExists} "$0" ".ogv" $7
|
||||||
|
${If} $7 == "false"
|
||||||
|
WriteRegStr SHCTX "$0\.ogv" "" "FirefoxHTML"
|
||||||
|
${EndIf}
|
||||||
|
|
||||||
|
; Only add .pdf if it's not present
|
||||||
|
${CheckIfRegistryKeyExists} "$0" ".pdf" $7
|
||||||
|
${If} $7 == "false"
|
||||||
|
WriteRegStr SHCTX "$0\.pdf" "" "FirefoxHTML"
|
||||||
|
${EndIf}
|
||||||
|
|
||||||
; Only add webm if it's not present
|
; Only add webm if it's not present
|
||||||
${CheckIfRegistryKeyExists} "$0" ".webm" $7
|
${CheckIfRegistryKeyExists} "$0" ".webm" $7
|
||||||
${If} $7 == "false"
|
${If} $7 == "false"
|
||||||
|
|
|
@ -324,6 +324,10 @@ Section "Uninstall"
|
||||||
${un.RegCleanFileHandler} ".shtml" "FirefoxHTML"
|
${un.RegCleanFileHandler} ".shtml" "FirefoxHTML"
|
||||||
${un.RegCleanFileHandler} ".xht" "FirefoxHTML"
|
${un.RegCleanFileHandler} ".xht" "FirefoxHTML"
|
||||||
${un.RegCleanFileHandler} ".xhtml" "FirefoxHTML"
|
${un.RegCleanFileHandler} ".xhtml" "FirefoxHTML"
|
||||||
|
${un.RegCleanFileHandler} ".oga" "FirefoxHTML"
|
||||||
|
${un.RegCleanFileHandler} ".ogg" "FirefoxHTML"
|
||||||
|
${un.RegCleanFileHandler} ".ogv" "FirefoxHTML"
|
||||||
|
${un.RegCleanFileHandler} ".pdf" "FirefoxHTML"
|
||||||
${un.RegCleanFileHandler} ".webm" "FirefoxHTML"
|
${un.RegCleanFileHandler} ".webm" "FirefoxHTML"
|
||||||
${EndIf}
|
${EndIf}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче