修复自定义主题背景路径存在空格时无法显示的问题

This commit is contained in:
lyswhut
2022-11-16 19:18:59 +08:00
parent 7daa626d55
commit a6fd41900f
6 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import { BrowserWindow } from 'electron'
import fs from 'fs'
import { join } from 'path'
import { openDevTools as handleOpenDevTools } from '@main/utils'
import { encodePath } from '@common/utils'
import { encodePath } from '@common/utils/electron'
let browserWindow: Electron.BrowserWindow | null = null