Skip to content

Commit

Permalink
fix: update version
Browse files Browse the repository at this point in the history
  • Loading branch information
qier222 committed Jan 28, 2023
1 parent 2f452db commit 2a0af8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yesplaymusic",
"version": "0.4.5",
"version": "0.4.6",
"private": true,
"description": "A third party music player for Netease Music",
"author": "qier222<qier222@outlook.com>",
Expand Down
5 changes: 2 additions & 3 deletions src/utils/Player.js
Original file line number Diff line number Diff line change
Expand Up @@ -432,12 +432,11 @@ export default class {
}
};

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

if (store.state.settings.automaticallyCacheSongs && retrieveSongInfo?.url) {
Expand Down

0 comments on commit 2a0af8f

Please sign in to comment.