Commit 2dee1a5c authored by rocosen's avatar rocosen

Update main.ts

parent d210e62c
...@@ -98,7 +98,7 @@ ipcMain.on('resize-home', (event) => { ...@@ -98,7 +98,7 @@ ipcMain.on('resize-home', (event) => {
homeWindown.loadURL(resolveHtmlPath(`index.html#/home`)); homeWindown.loadURL(resolveHtmlPath(`index.html#/home`));
positioner.position(homeWindown, tray.getBounds(), alignment); positioner.position(homeWindown, tray.getBounds(), alignment);
isDev && homeWindown.webContents.openDevTools(); isDev && homeWindown.webContents.openDevTools();
// homeWindown.webContents.openDevTools(); homeWindown.webContents.openDevTools();
homeWindown.once('ready-to-show', () => { homeWindown.once('ready-to-show', () => {
homeWindown?.show(); homeWindown?.show();
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment