Commit graph

34 commits

Author SHA1 Message Date
pan93412
f9e6164245
fix(ipcMain): unexpected “本草綱目“ from migu
This is just a workaround, and the core issue is on UNM.
However, refactoring UNM is time-comsuming and also requires
a lot of hard work. Therefore, we disable "migu" at this moment
simply.

Fixed #1713
Fixed #1711 (?)
2022-06-28 11:34:20 +08:00
memorydream
a9b05d66a6
fix(components/Titlebar): 还原/最大化按钮在双击标题栏时不会更新的问题 (#1575)
* fix(components/Titlebar): `还原/最大化`按钮在双击标题栏时不会更新的问题

* update
2022-04-29 19:52:22 +08:00
memorydream
c85af59b21
fix: bilibili音源无法播放的问题 (#1573) 2022-04-28 14:45:00 +08:00
pan93412
93ae57adbe
feat: switch to UNM (Rust) (#1536)
* refactor: use unm-rust-napi

* ci(build): install UNM dependencies for certain platforms

* feat: add the ability to configure UNM

* feat: add the UNM configuration in settings page

* refactor(jsconfig): jsx -> preserve

* fix(ci/build): use bash to get unm version

* chore(deps): upgrade UNM to 0.3.0-pre.0

* refactor(electron/ipcMain): update default sources

* fix(views/settings): remove duplicated config entry

* feat(settings): allow configuring QQ cookie

We also removed some duplicate entries in views/settings.vue.

* chore(deps): UNM -> 0.3.0-pre.1

* refactor: remove unused old UNM

* fix(utils/player): do not include rust-napi in client code

As we only imported the constant, I just expand it as the integer.

Co-authored-by: qier222 <qier222@outlook.com>
2022-04-28 01:02:41 +08:00
memorydream
d716bb8cde
feat: refactor tray (#1227)
* feat: support set tray icon tooltip info

* fix: name

* refactor tray impl and add tray playing state change

* fix: linux impl

* add pause icon

* add tray like state

* fix

* fix: linux impl

* better pause icon
2022-01-17 23:23:21 +08:00
pan93412
83b78bab34
feat: allow customizing UNM's sources (#1134)
* feat(ipcMain/unm): allow passing customized source

* feat(utils/Player): pass settings.unmSource

According to c280221a44608777a69038306a6ea8e92953fb9a,
we can let users customize their desired source now.

* feat(views/settings): allow configuring sources

We haven't supported specifying the environment variable in YPM yet.
2021-12-28 00:49:31 +08:00
pan93412
16c3613267
feat: Use actively maintained unblockNeteaseMusic (#1105)
* refactor: use @unblockneteasemusic/server

we also use ipcMain.handle for unblock-music.

* refactor(utils/nativeAlert): remove the deprecated "remote"

* refactor(ipcMain): use our default sources

* style(config/vue): prettier

* feat(README): update for new UNM
2021-12-20 18:56:26 +08:00
memorydream
b6cc6f8284
fix: 当不存在专辑时,不在歌词界面显示多余的符号 (#941)
* code clear

* 当不存在专辑时,不在歌词界面显示 - 符号

* some change
2021-10-11 10:19:10 +08:00
memorydream
de818282c8
fix: 增强并明确关闭app的相关行为 (#938)
* 分离close和minimize按钮行为

* bug fix
2021-09-28 19:05:34 +08:00
qier222
14f47f8cfc
fix: 全局快捷键相关bug 2021-09-25 19:10:37 +08:00
memorydream
17ef0e927c
feat: more operations for close | 为关闭app操作提供更多选项 (#918)
* feat: more operations for close

* remove minimizeToTray form initLocalStorage

Co-authored-by: qier222 <qier222@outlook.com>
Co-authored-by: qier222 <qier2222@gmail.com>
2021-09-25 16:12:30 +08:00
qier222
caaf62ea20
fix: remove osdlyrics 2021-06-10 13:50:31 +08:00
qier222
e54c606c6d
feat: custom shortcuts 2021-06-09 20:39:00 +08:00
Shi Liang
85592142af
feat. OSD Lyrics | 增加桌面歌词功能 (#685)
* Add OSD Lyrics

* tidy files

* fix OSDLyrics: last line of lyrics not showing, performance

* tidy files

* make user can resize the lyrics window

* Fix bug of initial window size

* Fix: 1. auto resize osdlyrics window after packaging; 2. lyric parser problem with %;

* tidy files
2021-05-21 17:15:30 +08:00
Revincx
920b216466
fix the UnblockNeteaseMusic | 修复UnblockNeteaseMusic无法使用的问题 (#670)
* fix: change to @revincx/unblockneteasemusic moudle

* Update README.md

* Update README.md

Co-authored-by: qier222 <qier222@outlook.com>
2021-05-17 23:59:02 +08:00
qier222
5b6619d1de
fix: proxy issue 2021-05-17 19:20:37 +08:00
qier222
95f22f47fe
fix: bugs 2021-04-28 13:44:37 +08:00
qier222
07455c8ecd
feat: send current track to main process and provide an api 2021-04-28 01:09:17 +08:00
qier222
2b22c7e050
feat(electron): add proxy support 2021-04-27 01:59:09 +08:00
qier222
9351f6bc89
chore: format codes 2021-04-26 16:31:03 +08:00
qier222
f702c33834
fix: win32 titlebar issue 2021-04-15 14:00:42 +08:00
wenjie
36447ae5d8
feat: add global shortcut setting (#470)
* feat: add global short cut setting

* fix: fix settings not work

* fix: call initIpcMan after createWindow

* fix: fix build error (typo)
2021-03-25 21:20:53 +08:00
Vidocq
d69080b695
fix: source and add track name in discord large image text (#437) 2021-03-17 23:15:10 +08:00
Vidocq
267a678f2a
feat: Add DiscordRichPresence | 增加DiscordRichPresence (#408) 2021-03-16 17:50:22 +08:00
qier222
ee248be2c5
fix: bugs 2021-03-07 17:31:38 +08:00
Mr. Will
51fc57efe8
为 Windows 平台添加沉浸式标题栏 (#277) 2021-02-12 20:03:01 +08:00
qier222
a74a55544b docs: update package.json 2021-01-31 20:51:25 +08:00
TestGifts
0ef108df4c
feat(electron): Add close pop-up confirmation (#157)
* Update ipcMain.js

Add close pop-up confirmation

* Update ipcMain.js

Judging MacOS
2021-01-31 18:05:37 +08:00
qier222
de7d008c0b feat(electron): add minimize to tray option to settings page 2021-01-29 19:55:02 +08:00
qier222
487dac4f16 fix: remove vuexCopy 2021-01-05 22:21:27 +08:00
njzy
b394ec0899
refactor: hide window when close app (#78)
fix: window can't be close by shortcutkey

fix: tray does not show in Windows
2020-12-09 19:50:50 +08:00
njzy
6fa6155817 fix(unblockMusic): the song information may fail to be fetched and reduce the request time
1. Increase the timeout time to prevent blocking the rendering process
2. Use the modification package to solve the problem that song information may not be available and repeatedly requested.
2020-12-04 00:25:44 +08:00
njzy
01e2dc955e feat: support unblock unplayable music 2020-12-02 01:01:49 +08:00
qier222
bc0de620c1 refactor: organize codes 2020-11-23 16:04:45 +08:00