Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #174 from nashaofu/dev
Browse files Browse the repository at this point in the history
release 2.0.12
  • Loading branch information
nashaofu authored Mar 5, 2019
2 parents e24afdc + 6aa57ba commit b87bc3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dingtalk",
"version": "2.0.11",
"version": "2.0.12",
"description": "钉钉桌面版,基于electron和钉钉网页版开发,支持Windows、Linux和macOS",
"author": "nashaofu <[email protected]>",
"main": "dist/main.js",
Expand Down Expand Up @@ -48,7 +48,7 @@
"electron": "^2.0.17",
"electron-builder": "<=20.34.0",
"electron-debug": "^2.1.0",
"electron-dev-webpack-plugin": "0.0.11",
"electron-dev-webpack-plugin": "^1.0.0",
"electron-devtools-installer": "^2.2.4",
"eslint": "^5.14.1",
"eslint-config-standard": "^12.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/main/dingtalk.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export default class DingTalk {
*/
quit () {
const windows = BrowserWindow.getAllWindows()
windows.forEach(item => item.close())
windows.forEach(item => item.destroy())
if (process.platform !== 'darwin') {
if (this.$tray && !this.$tray.isDestroyed()) {
this.$tray.destroy()
Expand Down

0 comments on commit b87bc3d

Please sign in to comment.