feat: updates

This commit is contained in:
qier222 2023-01-28 11:54:57 +08:00
parent 7ce516877e
commit ccebe0a67a
No known key found for this signature in database
74 changed files with 56065 additions and 2810 deletions

View file

@ -87,7 +87,10 @@ const AlbumContextMenu = () => {
type: 'item',
label: t`context-menu.copy-r3play-link`,
onClick: () => {
copyToClipboard(`${window.location.origin}/album/${dataSourceID}`)
const baseUrl = window.env?.isElectron
? 'https://r3play.app'
: window.location.origin
copyToClipboard(`${baseUrl}/album/${dataSourceID}`)
toast.success(t`toasts.copied`)
},
},