mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-06-03 14:50:57 +08:00
Added: plugin reload state in localstorage
This commit is contained in:
@@ -512,6 +512,8 @@ if (process.env.XDG_CURRENT_DESKTOP && process.env.XDG_CURRENT_DESKTOP.includes(
|
||||
app.on('ready', () => {
|
||||
createWindow()
|
||||
createSettingWindow()
|
||||
// reset localstorage state
|
||||
settingWindow.webContents.executeJavaScript(`localStorage.setItem('plugins', '')`)
|
||||
if (process.platform === 'darwin' || process.platform === 'win32') {
|
||||
createTray()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user