mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-01-23 07:15:16 +08:00
fix: source and add track name in discord large image text (#437)
This commit is contained in:
parent
f656b314f7
commit
d69080b695
|
@ -34,7 +34,6 @@
|
|||
"crypto-js": "^4.0.0",
|
||||
"dayjs": "^1.8.36",
|
||||
"discord-rich-presence": "^0.0.8",
|
||||
"discord-rpc": "^3.2.0",
|
||||
"electron": "^12.0.0",
|
||||
"electron-builder": "^22.10.5",
|
||||
"electron-context-menu": "^2.3.0",
|
||||
|
|
|
@ -69,7 +69,7 @@ export function initIpcMain(win, store) {
|
|||
state: track.al.name,
|
||||
endTimestamp: Date.now() + track.dt,
|
||||
largeImageKey: "logo",
|
||||
largeImageText: "YesPlayMusic",
|
||||
largeImageText: "Listening " + track.name,
|
||||
smallImageKey: "play",
|
||||
smallImageText: "Playing",
|
||||
instance: true,
|
||||
|
|
|
@ -4300,12 +4300,12 @@ dir-glob@^3.0.1:
|
|||
|
||||
discord-rich-presence@^0.0.8:
|
||||
version "0.0.8"
|
||||
resolved "https://registry.npm.taobao.org/discord-rich-presence/download/discord-rich-presence-0.0.8.tgz#7a2b41ff87a278e8a2c8835cd91c9890d6b9fbdd"
|
||||
integrity sha1-eitB/4eieOiiyINc2RyYkNa5+90=
|
||||
resolved "https://registry.yarnpkg.com/discord-rich-presence/-/discord-rich-presence-0.0.8.tgz#7a2b41ff87a278e8a2c8835cd91c9890d6b9fbdd"
|
||||
integrity sha512-IpVMPjv15C9UvppxvrrGdv6bzQHOW1P1vLoMH15HvdJwGJ3dBd2bnrJ63Uy36YRUfrAMxGLiwUDHncvC8AuPaQ==
|
||||
dependencies:
|
||||
discord-rpc "github:discordjs/rpc"
|
||||
|
||||
discord-rpc@^3.2.0, "discord-rpc@github:discordjs/rpc":
|
||||
"discord-rpc@github:discordjs/rpc":
|
||||
version "3.2.0"
|
||||
resolved "https://codeload.github.com/discordjs/rpc/tar.gz/32f1b9f8c47cf82ab87a83391ca9a9115513f01e"
|
||||
dependencies:
|
||||
|
|
Loading…
Reference in New Issue
Block a user