Skip to content

Commit

Permalink
fix: tray icon path
Browse files Browse the repository at this point in the history
  • Loading branch information
wdpm committed Feb 19, 2022
1 parent 791cce0 commit 7911d80
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- ~~播放器画质切换无效的严重BUG(HELP WANTED)~~
> 由于b站服务器限制,游客身份不能观看高清以上清晰度的直播。
## [0.10.0] - 2022-2-19
## [0.10.1] - 2022-2-19
### Added
- 提升DD_CENTER界面列表显示体验,增加“仅显示在线”按钮,TOP 10 online 页面标注。
- 新增最小化到托盘的模式(Tray mode)
Expand Down Expand Up @@ -111,8 +111,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- follow router doesn't highlight when navigate to its sub route.
- 对当前在线某个vtb进行关注,马上取关,触发奇怪的下播提醒。

[Unreleased]: https://github.com/wdpm/bilibili-dd-monitor/compare/v0.10.0...HEAD
[0.10.0]: https://github.com/wdpm/bilibili-dd-monitor/releases/tag/v0.10.0
[Unreleased]: https://github.com/wdpm/bilibili-dd-monitor/compare/v0.10.1...HEAD
[0.10.1]: https://github.com/wdpm/bilibili-dd-monitor/releases/tag/v0.10.1
[0.9.4]: https://github.com/wdpm/bilibili-dd-monitor/releases/tag/v0.9.4
[0.9.3]: https://github.com/wdpm/bilibili-dd-monitor/releases/tag/v0.9.3
[0.9.0]: https://github.com/wdpm/bilibili-dd-monitor/releases/tag/v0.9.0
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bilibili-dd-monitor",
"version": "0.10.0",
"version": "0.10.1",
"private": true,
"description": "bilibili-dd-monitior desktop app.",
"author": "wdpm",
Expand Down
3 changes: 1 addition & 2 deletions src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,7 @@ app.on('ready', async () => {
initServices()

// tray mode
// notice build path: D:\Code\WebStormProjects\bilibili-dd-monitor\dist_electron\
const iconPath = path.join(__dirname, '/bundled/icon.png')
const iconPath = path.join(__dirname, './icon.png')
tray = new Tray(iconPath)

function showMainWindow () {
Expand Down

0 comments on commit 7911d80

Please sign in to comment.