feat(config): saving configuration

This commit is contained in:
Alexey Kasyanchuk
2018-02-02 04:10:40 +03:00
parent 5fc8ddde2b
commit 316072008a
7 changed files with 85 additions and 75 deletions

View File

@ -0,0 +1,14 @@
import { app, BrowserWindow } from "electron";
export const settingsMenuTemplate = {
label: "Settings",
submenu: [
{
label: "Main settings",
accelerator: "CmdOrCtrl+O",
click: () => {
console.log(BrowserWindow.getFocusedWindow().webContents.send('url', '/config'))
}
}
]
};