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

Commit

Permalink
release 2.0.1 (#69)
Browse files Browse the repository at this point in the history
支持单击托盘图标打开窗口
  • Loading branch information
nashaofu authored Mar 25, 2018
1 parent fd975a0 commit 358591a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dingtalk",
"version": "2.0.0",
"version": "2.0.1",
"description": "钉钉桌面版,基于electron和钉钉网页版开发,支持Windows、Linux和macOS",
"author": "nashaofu <[email protected]>",
"main": "dist/main.js",
Expand Down
1 change: 1 addition & 0 deletions src/main/tray.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export default dingtalk => () => {
}
]))

$tray.on('click', () => dingtalk.showMainWin())
$tray.on('double-click', () => dingtalk.showMainWin())
return $tray
}

0 comments on commit 358591a

Please sign in to comment.