diff --git a/src/main/actions/quit.ts b/src/main/actions/quit.ts index c79fc1e2b..5fd753ef6 100644 --- a/src/main/actions/quit.ts +++ b/src/main/actions/quit.ts @@ -7,5 +7,11 @@ import { app } from 'electron' export default async () => { + console.log('to quit...') + try { + global.main_win.webContents.closeDevTools() + } catch (e) { + console.error(e) + } app.quit() } diff --git a/src/renderer/components/TopBar/ConfigMenu.tsx b/src/renderer/components/TopBar/ConfigMenu.tsx index 6b65680d3..f0c3232c8 100644 --- a/src/renderer/components/TopBar/ConfigMenu.tsx +++ b/src/renderer/components/TopBar/ConfigMenu.tsx @@ -42,6 +42,7 @@ const ConfigMenu = (props: Props) => { as={Button} variant="ghost" width="35px" + px="10.5px" > diff --git a/src/version.json b/src/version.json index 2a2546e15..fcca401de 100644 --- a/src/version.json +++ b/src/version.json @@ -1 +1 @@ -[4, 0, 2, 6054] \ No newline at end of file +[4, 0, 2, 6057] \ No newline at end of file