fix config import error, allow to run separated webpack's renderer configs for both apps

This commit is contained in:
Roman committed 2020-06-18 14:53:23 +03:00
1 parent 58c814d7eb
commit 1169b862b3
6 files changed
+19 -20

No files matched your search

-1
View File
@@ -7,7 +7,6 @@ import { readFileSync, watch } from "fs"
import { PromiseIpc } from "electron-promise-ipc"
import { findMainWebContents } from "./webcontents"
import * as url from "url"
import { apiPrefix } from "../common/vars";
export class KubeAuthProxy {
public lastError: string
+1
View File
@@ -155,6 +155,7 @@ export default function initMenu(opts: MenuOptions, promiseIpc: any) {
...(isDevelopment ? [
{ role: 'toggleDevTools' } as MenuItemConstructorOptions,
{
accelerator: "CmdOrCtrl+Shift+I",
label: 'Open Dashboard Devtools',
click() {
webContents.getFocusedWebContents().openDevTools()