From 7911d800692b0d6b4a1978442a8034417728a36e Mon Sep 17 00:00:00 2001 From: wdpm <1137299673@qq.com> Date: Sat, 19 Feb 2022 18:25:46 +0800 Subject: [PATCH] fix: tray icon path --- CHANGELOG.md | 6 +++--- package.json | 2 +- src/background.ts | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5fe6370..a4477c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) @@ -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 diff --git a/package.json b/package.json index 8fe735e..8e8f3eb 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/background.ts b/src/background.ts index a56884b..bebe3e9 100644 --- a/src/background.ts +++ b/src/background.ts @@ -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 () {