mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 05:08:04 +00:00
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>
This commit is contained in:
parent
5a5fb1f191
commit
d15b58d805
9 changed files with 235 additions and 8 deletions
|
|
@ -151,6 +151,10 @@ module.exports = {
|
|||
args[0]['IS_ELECTRON'] = true;
|
||||
return args;
|
||||
});
|
||||
config.resolve.alias.set(
|
||||
'jsbi',
|
||||
path.join(__dirname, 'node_modules/jsbi/dist/jsbi-cjs.js')
|
||||
);
|
||||
},
|
||||
// 渲染线程的配置文件
|
||||
chainWebpackRendererProcess: config => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue