🔨 Refactor: windowManager

This commit is contained in:
Molunerfinn
2020-04-12 22:34:45 +08:00
parent 7e866185e9
commit b5ceaeda1e
9 changed files with 40 additions and 58 deletions

View File

@@ -1,7 +1,6 @@
import {
dialog,
BrowserWindow,
clipboard,
Notification,
ipcMain
} from 'electron'
@@ -17,6 +16,7 @@ import {
SHOW_INPUT_BOX
} from '~/universal/events/constants'
// Cross-process support may be required in the future
class GuiApi implements IGuiApi {
private windowId: number = -1
private settingWindowId: number = -1