Skip to content

Commit

Permalink
🐞 fix: 修复 snap 无法正常启动 #299
Browse files Browse the repository at this point in the history
  • Loading branch information
imsyy committed Nov 27, 2024
1 parent 8136377 commit 94c0ca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ dmg:
# Linux 平台配置
linux:
# 可执行文件名
executableName: SPlayer
executableName: splayer
# 应用程序的图标文件路径
icon: public/icons/favicon-512x512.png
# 构建类型
Expand Down
2 changes: 1 addition & 1 deletion src/views/List/playlist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ const handleOnlinePlaylist = async (id: number, getList: boolean, refresh: boole
}
// 如果已登录且歌曲数量少于 800,直接加载所有歌曲
if (isLogin() === 1 && (playlistDetailData.value?.count as number) < 800) {
const ids: number[] = detail.privileges.map((song: any) => song.id as number);
const ids = detail.privileges.map((song: any) => song.id as number);
const result = await songDetail(ids);
playlistData.value = formatSongsList(result.songs);
} else {
Expand Down

0 comments on commit 94c0ca7

Please sign in to comment.