mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-06-02 05:09:46 +08:00
✨ Feature(custom): support force refresh gallery page
This commit is contained in:
@@ -335,6 +335,11 @@ export default {
|
||||
settingWindow.hide()
|
||||
})
|
||||
|
||||
ipcMain.on('refreshSettingWindow', () => {
|
||||
const settingWindow = windowManager.get(IWindowList.SETTING_WINDOW)!
|
||||
settingWindow.webContents.reloadIgnoringCache()
|
||||
})
|
||||
|
||||
// from mini window
|
||||
ipcMain.on('syncPicBed', () => {
|
||||
if (windowManager.has(IWindowList.SETTING_WINDOW)) {
|
||||
|
||||
Reference in New Issue
Block a user