mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-07-06 23:21:40 +08:00
Added: pasteStyle handler in gallery page
This commit is contained in:
@@ -512,8 +512,6 @@ 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()
|
||||
}
|
||||
|
||||
@@ -37,7 +37,6 @@ const handleGetPluginList = (ipcMain, STORE_PATH, CONFIG_PATH) => {
|
||||
ipcMain.on('getPluginList', event => {
|
||||
const picgo = new PicGo(CONFIG_PATH)
|
||||
const pluginList = picgo.pluginLoader.getList()
|
||||
// console.log(pluginList.length)
|
||||
const list = []
|
||||
for (let i in pluginList) {
|
||||
const plugin = picgo.pluginLoader.getPlugin(pluginList[i])
|
||||
|
||||
Reference in New Issue
Block a user