mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/lyswhut/lx-music-desktop.git
synced 2026-09-20 08:04:00 +08:00
修复若路径存在 # 字符时,软件无法启动的问题(#1461)
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
- 修复字体设置某些字体无法应用的问题
|
||||
- 修复搜索提示功能失效的问题(#1452, @Folltoshe)
|
||||
- 修复我的列表名右键菜单-排序歌曲按专辑名排序无效的问题(#1440)
|
||||
- 修复若路径存在 # 字符时,软件无法启动的问题
|
||||
|
||||
### 其他
|
||||
|
||||
|
||||
@@ -39,5 +39,6 @@ export const clipboardReadText = (): string => {
|
||||
|
||||
export const encodePath = (path: string) => {
|
||||
// https://github.com/lyswhut/lx-music-desktop/issues/963
|
||||
return path.replaceAll('%', '%25')
|
||||
// https://github.com/lyswhut/lx-music-desktop/issues/1461
|
||||
return path.replaceAll('%', '%25').replaceAll('#', '%23')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user