Skip to content

Commit

Permalink
fix: 修复 Wallpaper 路径问题
Browse files Browse the repository at this point in the history
  • Loading branch information
wangrongding committed May 14, 2023
1 parent 756e2ae commit c851e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electron/create-mac-live-wallpaper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function createMacLiveWallpaper() {
// wallWindow[index].webContents.openDevTools({ mode: 'right' })
await wallWindow[index].loadURL('http://localhost:1234/#/wallpaper')
} else {
await wallWindow[index].loadFile(path.join(__dirname, '../dist-web/index.html/#/wallpaper'))
await wallWindow[index].loadFile(path.join(__dirname, '../dist-web/index.html#/wallpaper'))
}
// 窗口最大化
wallWindow[index].maximize()
Expand Down

0 comments on commit c851e6a

Please sign in to comment.