fix: show interactive icon when using non-packaged mode

This commit is contained in:
JellyBrick
2023-09-04 15:50:35 +09:00
parent 27086e759f
commit 031875ad86

View File

@ -154,7 +154,7 @@ const getXml = (songInfo: SongInfo, iconSrc: string) => {
const iconLocation = app.isPackaged
? 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) => {
if (config.get('toastStyle') === ToastStyles.legacy) {