Created
September 19, 2018 17:43
-
-
Save zbraniecki/e0892b99eb0e1ebcca67b5659f904d57 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/toolkit/components/extensions/Extension.jsm b/toolkit/components/extensions/Extension.jsm | |
--- a/toolkit/components/extensions/Extension.jsm | |
+++ b/toolkit/components/extensions/Extension.jsm | |
@@ -2007,6 +2007,11 @@ class Langpack extends ExtensionData { | |
} | |
async startup(reason) { | |
+ if (reason === "APP_STARTUP" && AppConstants.platform === "XP_WIN") { | |
+ if (!(await OS.File.exists(this.rootURI))) { | |
+ return false; | |
+ } | |
+ } | |
this.chromeRegistryHandle = null; | |
if (this.startupData.chromeEntries.length > 0) { | |
const manifestURI = Services.io.newURI("manifest.json", null, this.rootURI); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment