diff --git a/cspell.config.yaml b/cspell.config.yaml index d901d84..ef31cb3 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -1,6 +1,7 @@ words: - antd - iife + - oomol - refreshable - tsup - Vals diff --git a/desktop/main/package.json b/desktop/main/package.json index 4748d4e..5cf7f18 100644 --- a/desktop/main/package.json +++ b/desktop/main/package.json @@ -15,7 +15,9 @@ "electron": "^32.0.1", "eslint": "overridden", "vite": "^5.4.2", - "vite-plugin-electron": "^0.28.8" + "vite-plugin-electron": "^0.28.8", + "value-enhancer": "overridden", + "use-value-enhancer": "overridden" }, "dependencies": { } diff --git a/desktop/main/src/index.ts b/desktop/main/src/index.ts index 00c27f9..e7d9cd7 100644 --- a/desktop/main/src/index.ts +++ b/desktop/main/src/index.ts @@ -7,13 +7,18 @@ const __dirname = path.dirname(__filename); async function createWindow() { const mainWindow = new BrowserWindow({ - width: 1600, - height: 1500, + width: 960, + height: 678, show: false, webPreferences: { preload: path.join(__dirname, "preload.mjs"), nodeIntegration: false, }, + titleBarStyle: "hidden", + trafficLightPosition: { + x: 13, + y: 13, + }, }); mainWindow.once("ready-to-show", () => { diff --git a/desktop/renderer/index.html b/desktop/renderer/index.html index 1c42c0f..4f07e7e 100644 --- a/desktop/renderer/index.html +++ b/desktop/renderer/index.html @@ -8,7 +8,7 @@
- +