(win)
| 56 | const unregisterKeyboradShortcut = () => globalShortcut.unregisterAll() |
| 57 | |
| 58 | const registerShortcuts = async (win) => { |
| 59 | registerKeyboradShortcut(win) |
| 60 | changeMenuItems({ |
| 61 | Debugger: { |
| 62 | 'Stay in Front': { |
| 63 | checked: win.isAlwaysOnTop(), |
| 64 | }, |
| 65 | 'Enable Open in Editor for Console Log': { |
| 66 | checked: await checkIsOpenInEditorEnabled(win), |
| 67 | }, |
| 68 | }, |
| 69 | }) |
| 70 | } |
| 71 | |
| 72 | const minSize = 100 |
| 73 | export const createWindow = ({ iconPath, isPortSettingRequired, port }) => { |
no test coverage detected