()
| 13 | let terminalKeyboardCapture = false |
| 14 | |
| 15 | const cantLoadPath = (): string => { |
| 16 | // Note: this path is used in |
| 17 | let viewerPath = "pages/cantLoad.html" |
| 18 | if (!isDev) { |
| 19 | viewerPath = path.join(process.resourcesPath, "dist", "pages", "cantLoad.html") |
| 20 | } |
| 21 | return viewerPath |
| 22 | } |
| 23 | |
| 24 | const windowSizeStorageKey = "openade-window-size" |
| 25 | const wasFocusedLastStorageKey = "openade-last-focused" |