diff --git a/README.md b/README.md index 7548ffd..720c142 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ - 📻 支持私人 FM - 🚫🤝 无任何社交功能 - 🌎️ 海外用户可直接播放(需要登录网易云账号) -- 🔐 支持 [UnblockNeteaseMusic](https://github.com/nondanee/UnblockNeteaseMusic),自动使用 QQ/酷狗/酷我音源替换变灰歌曲链接 (网页版不支持) +- 🔐 支持 [UnblockNeteaseMusic](https://github.com/nondanee/UnblockNeteaseMusic)([使用revincx修复的npm包](https://github.com/revincx/UnblockNeteaseMusic)),自动使用 QQ/酷狗/酷我音源替换变灰歌曲链接 (网页版不支持) - ⏭️ 支持 MediaSession API,可以使用系统快捷键操作上一首下一首 - ✔️ 每日自动签到(手机端和电脑端同时签到) - 🌚 Light/Dark Mode 自动切换 diff --git a/package.json b/package.json index 205ed5c..2b18314 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ }, "main": "background.js", "dependencies": { - "@njzy/unblockneteasemusic": "^0.25.3", + "@revincx/unblockneteasemusic": "^0.25.5", "axios": "^0.21.0", "change-case": "^4.1.2", "core-js": "^3.6.5", diff --git a/src/electron/ipcMain.js b/src/electron/ipcMain.js index 107e830..c42e467 100644 --- a/src/electron/ipcMain.js +++ b/src/electron/ipcMain.js @@ -1,5 +1,5 @@ import { app, dialog, globalShortcut, ipcMain } from 'electron'; -import match from '@njzy/unblockneteasemusic'; +import match from '@revincx/unblockneteasemusic'; import { registerGlobalShortcut } from '@/electron/globalShortcut'; const client = require('discord-rich-presence')('818936529484906596'); diff --git a/vue.config.js b/vue.config.js index c4c22ec..80c80af 100644 --- a/vue.config.js +++ b/vue.config.js @@ -59,7 +59,7 @@ module.exports = { // electron-builder的配置文件 electronBuilder: { nodeIntegration: true, - externals: ["@nondanee/unblockneteasemusic", "@njzy/unblockneteasemusic"], + externals: [ "@revincx/unblockneteasemusic" ], builderOptions: { productName: "YesPlayMusic", copyright: "Copyright © YesPlayMusic",