Skip to content

Commit 17a5a24

Browse files
committed
Fix some minor issues.
1 parent 0e401bb commit 17a5a24

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

src/main/actions/quit.ts

+6
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,11 @@
77
import { app } from 'electron'
88

99
export default async () => {
10+
console.log('to quit...')
11+
try {
12+
global.main_win.webContents.closeDevTools()
13+
} catch (e) {
14+
console.error(e)
15+
}
1016
app.quit()
1117
}

src/renderer/components/TopBar/ConfigMenu.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ const ConfigMenu = (props: Props) => {
4242
as={Button}
4343
variant="ghost"
4444
width="35px"
45+
px="10.5px"
4546
>
4647
<BiCog/>
4748
</MenuButton>

src/version.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[4, 0, 2, 6054]
1+
[4, 0, 2, 6057]

0 commit comments

Comments
 (0)