fix the UnblockNeteaseMusic | 修复UnblockNeteaseMusic无法使用的问题 (#670)

* fix: change to @revincx/unblockneteasemusic moudle

* Update README.md

* Update README.md

Co-authored-by: qier222 <qier222@outlook.com>
This commit is contained in:
Revincx 2021-05-17 23:59:02 +08:00 committed by GitHub
parent b05a686180
commit 920b216466
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@
- 📻 支持私人 FM - 📻 支持私人 FM
- 🚫🤝 无任何社交功能 - 🚫🤝 无任何社交功能
- 🌎️ 海外用户可直接播放(需要登录网易云账号) - 🌎️ 海外用户可直接播放(需要登录网易云账号)
- 🔐 支持 [UnblockNeteaseMusic](https://github.com/nondanee/UnblockNeteaseMusic),自动使用 QQ/酷狗/酷我音源替换变灰歌曲链接 (网页版不支持) - 🔐 支持 [UnblockNeteaseMusic](https://github.com/nondanee/UnblockNeteaseMusic)[使用revincx修复的npm包](https://github.com/revincx/UnblockNeteaseMusic),自动使用 QQ/酷狗/酷我音源替换变灰歌曲链接 (网页版不支持)
- ⏭️ 支持 MediaSession API可以使用系统快捷键操作上一首下一首 - ⏭️ 支持 MediaSession API可以使用系统快捷键操作上一首下一首
- ✔️ 每日自动签到(手机端和电脑端同时签到) - ✔️ 每日自动签到(手机端和电脑端同时签到)
- 🌚 Light/Dark Mode 自动切换 - 🌚 Light/Dark Mode 自动切换

View File

@ -26,7 +26,7 @@
}, },
"main": "background.js", "main": "background.js",
"dependencies": { "dependencies": {
"@njzy/unblockneteasemusic": "^0.25.3", "@revincx/unblockneteasemusic": "^0.25.5",
"axios": "^0.21.0", "axios": "^0.21.0",
"change-case": "^4.1.2", "change-case": "^4.1.2",
"core-js": "^3.6.5", "core-js": "^3.6.5",

View File

@ -1,5 +1,5 @@
import { app, dialog, globalShortcut, ipcMain } from 'electron'; import { app, dialog, globalShortcut, ipcMain } from 'electron';
import match from '@njzy/unblockneteasemusic'; import match from '@revincx/unblockneteasemusic';
import { registerGlobalShortcut } from '@/electron/globalShortcut'; import { registerGlobalShortcut } from '@/electron/globalShortcut';
const client = require('discord-rich-presence')('818936529484906596'); const client = require('discord-rich-presence')('818936529484906596');

View File

@ -59,7 +59,7 @@ module.exports = {
// electron-builder的配置文件 // electron-builder的配置文件
electronBuilder: { electronBuilder: {
nodeIntegration: true, nodeIntegration: true,
externals: ["@nondanee/unblockneteasemusic", "@njzy/unblockneteasemusic"], externals: [ "@revincx/unblockneteasemusic" ],
builderOptions: { builderOptions: {
productName: "YesPlayMusic", productName: "YesPlayMusic",
copyright: "Copyright © YesPlayMusic", copyright: "Copyright © YesPlayMusic",