b3d7060
#
b3d7060
#  Make sure the first time installed (bootstrap) addons will appear in startup cache.
b3d7060
#  Otherwise they will appear there only after updating the addon and/or application,
b3d7060
#  or after the run with -purgecaches option.
b3d7060
#
b3d7060
b3d7060
--- mozilla/toolkit/mozapps/extensions/internal/XPIInstall.jsm.orig	2022-02-17 14:30:55.153530893 +0300
b3d7060
+++ mozilla/toolkit/mozapps/extensions/internal/XPIInstall.jsm	2022-02-23 01:36:10.047716275 +0300
b3d7060
@@ -1859,8 +1859,9 @@ class AddonInstall {
b3d7060
           extraParams.oldVersion = this.existingAddon.version;
b3d7060
         }
b3d7060
 
b3d7060
         if (this.addon.bootstrap) {
b3d7060
+          flushChromeCaches();
b3d7060
           XPIProvider.callBootstrapMethod(this.addon, file, "install",
b3d7060
                                           reason, extraParams);
b3d7060
         }
b3d7060