Skip to content

Commit 03544a2

Browse files
authored
fix(desktop): update main process (#25825)
1 parent b4147c8 commit 03544a2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/desktop/src/main/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ import {
5151
} from "./windows"
5252
import { drizzle } from "drizzle-orm/node-sqlite/driver"
5353
import type { Server } from "virtual:opencode-server"
54+
import { migrate } from "./migrate"
5455

5556
const initEmitter = new EventEmitter()
5657
let initStep: InitStep = { phase: "server_waiting" }
@@ -112,6 +113,7 @@ function setupApp() {
112113
}
113114

114115
void app.whenReady().then(async () => {
116+
migrate()
115117
app.setAsDefaultProtocolClient("opencode")
116118
registerRendererProtocol()
117119
setDockIcon()

0 commit comments

Comments
 (0)