fix ts type error

This commit is contained in:
2026-03-12 12:24:34 +08:00
parent c903733f2c
commit d66dae74e8
2 changed files with 6 additions and 2 deletions

View File

@@ -19,7 +19,6 @@ function createWindow(): void {
autoHideMenuBar: true,
titleBarStyle: "hiddenInset",
trafficLightPosition: { x: 15, y: 10 },
...(process.platform === "linux" ? { icon } : {}),
webPreferences: {
preload: join(__dirname, "../preload/index.js"),
sandbox: false,