From f54c5335f7c9e628b20d4e6ea2a3ee8f2125c301 Mon Sep 17 00:00:00 2001 From: Lawrence Cherone Date: Thu, 17 May 2018 19:38:34 +0100 Subject: [PATCH] added Ctrl-i to open dev tools --- README.md | 4 ++-- package.json | 6 ------ src/main/index.js | 6 ++---- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index a63a004..8481c4b 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Want anything else added? Feel free to open an issue... | File | Description | Platform | --- | --- | --- | -| [LXDui-0.0.9-x86_64.AppImage](https://github.com/lcherone/lxd-ui/releases/download/0.0.9a/LXDui-0.0.9-x86_64.AppImage) | Version 0.0.9a - [Release Notes](https://github.com/lcherone/lxd-ui/releases/tag/0.0.9a) | Linux +| [LXDui-1.0.0-x86_64.AppImage](https://github.com/lcherone/lxd-ui/releases/download/1.0.0/LXDui-1.0.0-x86_64.AppImage) | Version 1.0.0 - [Release Notes](https://github.com/lcherone/lxd-ui/releases/tag/1.0.0) | Linux As versions are released, they will be posted here: [https://github.com/lcherone/lxd-ui/releases](https://github.com/lcherone/lxd-ui/releases) which you can just download and run. Or you can build as shown below. Windows or mac its not supported. @@ -60,7 +60,7 @@ git clone git@github.com:lcherone/lxd-ui.git && cd lxd-ui # install dependencies npm install -# build application - built app will be here: ./build/lxd-ui-0.0.*-x86_64.AppImage +# build application - built app will be in: ./build npm run build ``` diff --git a/package.json b/package.json index 72f75e4..4c36e30 100644 --- a/package.json +++ b/package.json @@ -32,12 +32,6 @@ "files": [ "dist/electron/**/*" ], - "extraResources": [ - { - "from": "static/LXDui-0.0.9-x86_64.appdata.xml", - "to": "../../usr/share/metainfo/LXDui-0.0.9-x86_64.appdata.xml" - } - ], "dmg": { "contents": [ { diff --git a/src/main/index.js b/src/main/index.js index aaf2105..ad1ac59 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -27,13 +27,11 @@ function createWindow () { mainWindow.loadURL(winURL) - // Ctrl-X open dev tools in production - /* + // Ctrl-I open chrome dev tools in production const {globalShortcut} = require('electron') - globalShortcut.register('CommandOrControl+X', () => { + globalShortcut.register('CommandOrControl+I', () => { mainWindow.webContents.openDevTools() }) - */ mainWindow.on('closed', () => { mainWindow = null