mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-29 03:41:51 +00:00
gh-12940: Fixed new profiles not being able to startup (gh-12944)
This commit is contained in:
@@ -151,10 +151,11 @@ export class nsZenSessionManager {
|
||||
);
|
||||
const db = await PlacesUtils.promiseDBConnection();
|
||||
let data = {};
|
||||
let rows = await db.execute(
|
||||
"SELECT * FROM zen_workspaces ORDER BY created_at ASC"
|
||||
);
|
||||
let rows = [];
|
||||
try {
|
||||
rows = await db.execute(
|
||||
"SELECT * FROM zen_workspaces ORDER BY created_at ASC"
|
||||
);
|
||||
data.spaces = rows.map(row => ({
|
||||
uuid: row.getResultByName("uuid"),
|
||||
name: row.getResultByName("name"),
|
||||
|
||||
@@ -10,9 +10,6 @@ window.ZenWorkspaceBookmarksStorage = {
|
||||
ChromeUtils.defineESModuleGetters(this.lazy, {
|
||||
PlacesUtils: "resource://gre/modules/PlacesUtils.sys.mjs",
|
||||
});
|
||||
if (!window.gZenWorkspaces) {
|
||||
return;
|
||||
}
|
||||
this.promiseInitialized = new Promise(resolve => {
|
||||
this._resolveInitialized = resolve;
|
||||
});
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"brandShortName": "Zen",
|
||||
"brandFullName": "Zen Browser",
|
||||
"release": {
|
||||
"displayVersion": "1.19.4b",
|
||||
"displayVersion": "1.19.5b",
|
||||
"github": {
|
||||
"repo": "zen-browser/desktop"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user