修复自定义主题背景路径存在空格时无法显示的问题
This commit is contained in:
@@ -36,3 +36,8 @@ export const clipboardReadText = (): string => {
|
||||
return clipboard.readText()
|
||||
}
|
||||
|
||||
|
||||
export const encodePath = (path: string) => {
|
||||
// https://github.com/lyswhut/lx-music-desktop/issues/963
|
||||
return path.replaceAll('%', '%25')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user