mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 08:21:50 +00:00
fix(desktop): update main process (#25825)
This commit is contained in:
parent
b4147c8d08
commit
03544a26cd
1 changed files with 2 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ import {
|
|||
} from "./windows"
|
||||
import { drizzle } from "drizzle-orm/node-sqlite/driver"
|
||||
import type { Server } from "virtual:opencode-server"
|
||||
import { migrate } from "./migrate"
|
||||
|
||||
const initEmitter = new EventEmitter()
|
||||
let initStep: InitStep = { phase: "server_waiting" }
|
||||
|
|
@ -112,6 +113,7 @@ function setupApp() {
|
|||
}
|
||||
|
||||
void app.whenReady().then(async () => {
|
||||
migrate()
|
||||
app.setAsDefaultProtocolClient("opencode")
|
||||
registerRendererProtocol()
|
||||
setDockIcon()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue