fix: assets path

This commit is contained in:
JellyBrick
2023-09-04 17:20:07 +09:00
parent 42ad78c6cc
commit 73287cf8b2
2 changed files with 24 additions and 6 deletions

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) {