Skip to content

Commit 94c0ca7

Browse files
committed
🐞 fix: 修复 snap 无法正常启动 #299
1 parent 8136377 commit 94c0ca7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

electron-builder.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ dmg:
8484
# Linux 平台配置
8585
linux:
8686
# 可执行文件名
87-
executableName: SPlayer
87+
executableName: splayer
8888
# 应用程序的图标文件路径
8989
icon: public/icons/favicon-512x512.png
9090
# 构建类型

src/views/List/playlist.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ const handleOnlinePlaylist = async (id: number, getList: boolean, refresh: boole
365365
}
366366
// 如果已登录且歌曲数量少于 800,直接加载所有歌曲
367367
if (isLogin() === 1 && (playlistDetailData.value?.count as number) < 800) {
368-
const ids: number[] = detail.privileges.map((song: any) => song.id as number);
368+
const ids = detail.privileges.map((song: any) => song.id as number);
369369
const result = await songDetail(ids);
370370
playlistData.value = formatSongsList(result.songs);
371371
} else {

0 commit comments

Comments
 (0)