fix: update version

master
qier222 3 years ago
parent 2f452dbe74
commit 2a0af8f975
No known key found for this signature in database

@ -1,6 +1,6 @@
{ {
"name": "yesplaymusic", "name": "yesplaymusic",
"version": "0.4.5", "version": "0.4.6",
"private": true, "private": true,
"description": "A third party music player for Netease Music", "description": "A third party music player for Netease Music",
"author": "qier222<qier222@outlook.com>", "author": "qier222<qier222@outlook.com>",

@ -432,12 +432,11 @@ export default class {
} }
}; };
/** @type {import("@unblockneteasemusic/rust-napi").RetrievedSongInfo | null} */
const retrieveSongInfo = await ipcRenderer.invoke( const retrieveSongInfo = await ipcRenderer.invoke(
'unblock-music', 'unblock-music',
store.state.settings.unmSource, store.state.settings.unmSource,
track, track,
/** @type {import("@unblockneteasemusic/rust-napi").Context} */({ {
enableFlac: store.state.settings.unmEnableFlac || null, enableFlac: store.state.settings.unmEnableFlac || null,
proxyUri: store.state.settings.unmProxyUri || null, proxyUri: store.state.settings.unmProxyUri || null,
searchMode: determineSearchMode(store.state.settings.unmSearchMode), searchMode: determineSearchMode(store.state.settings.unmSearchMode),
@ -446,7 +445,7 @@ export default class {
'qq:cookie': store.state.settings.unmQQCookie || null, 'qq:cookie': store.state.settings.unmQQCookie || null,
'ytdl:exe': store.state.settings.unmYtDlExe || null, 'ytdl:exe': store.state.settings.unmYtDlExe || null,
}, },
}) }
); );
if (store.state.settings.automaticallyCacheSongs && retrieveSongInfo?.url) { if (store.state.settings.automaticallyCacheSongs && retrieveSongInfo?.url) {

Loading…
Cancel
Save