fix catalog.test.tsx

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-05-04 08:45:53 -04:00
1 parent dc3dffc2fc
commit bc30edade0
5 files changed
+15 -17

No files matched your search

+4
View File
@@ -63,6 +63,7 @@ import hotbarStoreInjectable from "../common/hotbar-store.injectable";
import applicationMenuItemsInjectable from "./menu/application-menu-items.injectable";
import type { DiContainer } from "@ogre-tools/injectable";
import { init } from "@sentry/electron/main";
import { userStoreFileNameMigration } from "../migrations/user-store";
async function main(di: DiContainer) {
app.setName(appName);
@@ -71,6 +72,9 @@ async function main(di: DiContainer) {
* Note: this MUST be called before electron's "ready" event has been emitted.
*/
initializeSentryReporting(init);
// TODO make this part of the UserStore setup
await userStoreFileNameMigration();
await di.runSetups();
await app.whenReady();