Commit Graph

35 Commits

Author SHA1 Message Date
代强 a18e093d4a fix: fix build && adapte for bugs in NeteasyCloudMusicAPI 2024-03-04 19:22:47 +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
Chuwen 76b358445e
build: 优化打包体积 (#1323)
* 移除生产环境不必要的 map 文件
* webpack 添加 LimitChunkCountPlugin 用以解决 chunk 包太多的问题
2022-02-23 23:26:37 +08:00
CNawalol d15b58d805
feat: mpris support (#1279)
* feat: mpris support

* fix: 修复网页版无法播放

* fix: 修复在 Player.js 里 ipcRenderer 为空时引发的错误

* docs: update README

* docs: update README

Co-authored-by: memorydream <34763046+memorydream@users.noreply.github.com>
2022-01-30 00:37:12 +08:00
pan93412 5a5fb1f191
refactor(ncmapi): use upstream version (#1278)
* refactor(ncmapi): use upstream version

FIXME: After #1457 released,
switch to the NPM version.

* fix(docker): install NeteaseCloudMusicApi early

* fix: remove useless submodule entry

* fix(ncmapi): update to 4.5.2
2022-01-30 00:19:55 +08:00
pan93412 1c7344beaf
fix(build): try to fix up the ARM64 build issue
https://github.com/qier222/YesPlayMusic/runs/4950356054
2022-01-26 20:38:21 +08:00
pan93412 6af6b86e87
build: add arm64 support for Linux 2022-01-26 18:27:38 +08:00
pan93412 ebd863f5b6
refactor(ncmapi): manage NCMAPI with submodule
also:
  - docs: tells user to clone repo recursively
  - feat(ci): clone recursively
  - feat(ncmapi): backport my change
    https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1453
  - refactor: rewrite startNeteaseMusicApi()
2022-01-26 18:13:55 +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
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 d9c8489c92
fix: bugs 2021-03-25 22:10:22 +08:00
qier222 b98bf909fb
fix: bugs 2021-03-25 19:29:55 +08:00
qier222 0adae696cf
fix: bugs 2021-03-08 00:20:27 +08:00
qier222 89216f2387
chore: update package.json 2021-03-07 20:05:56 +08:00
qier222 ee248be2c5
fix: bugs 2021-03-07 17:31:38 +08:00
qier222 c6ddf9ac3f
chore: use devServer.proxy 2021-02-16 14:22:41 +08:00
qier222 51d11e8316 fix: bugs 2021-01-31 20:40:34 +08:00
qier222 967a7165ac fix: bugs 2021-01-29 21:36:10 +08:00
qier222 db14c9283f fix: bugs 2021-01-05 22:21:01 +08:00
qier222 7f15fa14e2 chore(electron): disable compression:maximum option in vue.config.js 2020-12-16 13:24:36 +08:00
qier222 ddebec9de9 Merge branch 'master' of https://github.com/qier222/YesPlayMusic 2020-12-05 12:31:00 +08:00
qier222 b7f51f02c2 fix(electron): auto update 2020-12-04 18:46:35 +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
kunkka e030647720 feat: update electron app with touchbar and menu. 2020-11-03 23:34:43 +08:00
kunkka ae6ecd96fd feat: update electron options and touchbar 2020-10-30 18:17:04 +08:00
kunkka 0ca7139ea4 feat: update electron build options 2020-10-30 10:49:22 +08:00
kunkka ab96e6948f fix: build error relations 2020-10-29 23:33:11 +08:00
kunkka 74bf714c28 feat: integrate api in electron app 2020-10-27 23:08:38 +08:00
kunkka bd29570e31 feat: update electron config 2020-10-27 03:56:05 +08:00
kunkka e60caf9018 feat: electron supported 2020-10-24 00:51:29 +08:00
kunkka e74b765550 feat: option for change default devServer port 2020-10-23 15:59:04 +08:00
kunkka 68637ccab6 feat: prettier task supported 2020-10-22 19:17:20 +08:00
qier222 e4ba16b9a2 first commit 2020-10-10 19:54:44 +08:00