Skip to content

Commit

Permalink
Fix some minor issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
oldj committed May 29, 2021
1 parent 0e401bb commit 17a5a24
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/main/actions/quit.ts
Expand Up @@ -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()
}
1 change: 1 addition & 0 deletions src/renderer/components/TopBar/ConfigMenu.tsx
Expand Up @@ -42,6 +42,7 @@ const ConfigMenu = (props: Props) => {
as={Button}
variant="ghost"
width="35px"
px="10.5px"
>
<BiCog/>
</MenuButton>
Expand Down
2 changes: 1 addition & 1 deletion src/version.json
@@ -1 +1 @@
[4, 0, 2, 6054]
[4, 0, 2, 6057]

0 comments on commit 17a5a24

Please sign in to comment.