Skip to content

Commit

Permalink
added Ctrl-i to open dev tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawrence Cherone committed May 17, 2018
1 parent 655ee44 commit f54c533
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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

```
Expand Down
6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
6 changes: 2 additions & 4 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f54c533

Please sign in to comment.