nice flow state decent and cleaning things up in terms of router and such

This commit is contained in:
talksik
2022-05-09 06:08:10 -05:00
parent 3674ae7b8a
commit 82a11d1833
6 changed files with 58 additions and 36 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import {
ipcMain,
screen,
} from "electron";
import Channels, { TERMINAL_PRESET } from "./electron/constants";
import Channels, { DEFAULT_APP_PRESET } from "./electron/constants";
import { DimensionChangeRequest } from "./electron/constants";
import { handleGoogleLogin } from "./electron/handleLogin";
@@ -36,7 +36,7 @@ let display: Display;
const createWindow = (): void => {
// Create the browser window.
browserWindow = new BrowserWindow({
...{ height: TERMINAL_PRESET.height, width: TERMINAL_PRESET.width },
...DEFAULT_APP_PRESET,
webPreferences: {
preload: MAIN_WINDOW_PRELOAD_WEBPACK_ENTRY,
sandbox: true,