Skip to content

Commit

Permalink
fix(reg): move db initialization after paths
Browse files Browse the repository at this point in the history
  • Loading branch information
skjsjhb committed Jan 10, 2025
1 parent 6968b2b commit 0cb2aef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ async function main() {

console.log("Initializing modules...");
conf.setup();

await registry.init();


if (import.meta.env.AL_TEST) {
paths.setup({
storeRoot: path.resolve("emulated", "store")
Expand All @@ -60,6 +58,8 @@ async function main() {
paths.setup();
}

await registry.init();

ping.setup();
ext.setup();

Expand Down

0 comments on commit 0cb2aef

Please sign in to comment.