mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
fix: show interactive icon when using non-packaged mode
This commit is contained in:
@ -154,7 +154,7 @@ const getXml = (songInfo: SongInfo, iconSrc: string) => {
|
|||||||
|
|
||||||
const iconLocation = app.isPackaged
|
const iconLocation = app.isPackaged
|
||||||
? path.resolve(app.getPath('userData'), 'icons')
|
? path.resolve(app.getPath('userData'), 'icons')
|
||||||
: path.resolve(__dirname, '..', '..', 'assets/media-icons-black');
|
: path.resolve(__dirname, '..', '..', '..', 'assets/media-icons-black');
|
||||||
|
|
||||||
const display = (kind: keyof typeof icons) => {
|
const display = (kind: keyof typeof icons) => {
|
||||||
if (config.get('toastStyle') === ToastStyles.legacy) {
|
if (config.get('toastStyle') === ToastStyles.legacy) {
|
||||||
|
|||||||
Reference in New Issue
Block a user