mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-08 00:10:00 +02:00
21 lines
1,017 B
C++
21 lines
1,017 B
C++
diff --git a/browser/components/BrowserGlue.sys.mjs b/browser/components/BrowserGlue.sys.mjs
|
|
index bde641f7112adde948707c172b9f18d3635d8ef1..3f430451586904e6be086114ec10f719745093be 100644
|
|
--- a/browser/components/BrowserGlue.sys.mjs
|
|
+++ b/browser/components/BrowserGlue.sys.mjs
|
|
@@ -8,6 +8,7 @@ import { XPCOMUtils } from "resource://gre/modules/XPCOMUtils.sys.mjs";
|
|
const lazy = {};
|
|
|
|
ChromeUtils.defineESModuleGetters(lazy, {
|
|
+ gZenUIMigration: "chrome://browser/content/zen-components/ZenUIMigration.mjs",
|
|
AboutHomeStartupCache: "resource:///modules/AboutHomeStartupCache.sys.mjs",
|
|
AWToolbarButton: "resource:///modules/aboutwelcome/AWToolbarUtils.sys.mjs",
|
|
ASRouter: "resource:///modules/asrouter/ASRouter.sys.mjs",
|
|
@@ -1659,6 +1660,8 @@ BrowserGlue.prototype = {
|
|
} else if (profileDataVersion < APP_DATA_VERSION) {
|
|
lazy.ProfileDataUpgrader.upgrade(profileDataVersion, APP_DATA_VERSION);
|
|
}
|
|
+
|
|
+ lazy.gZenUIMigration.init(this._isNewProfile);
|
|
},
|
|
|
|
async _showUpgradeDialog() {
|