Skip to content

Commit

Permalink
bump version, update node-hid to 2.1.2, electron to 18.3.15
Browse files Browse the repository at this point in the history
  • Loading branch information
todbot committed Sep 28, 2022
1 parent 4681e5a commit e3eb83f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "electron-hid-toy",
"version": "0.7.0",
"version": "0.7.1",
"description": "Play with Electron and node-hid",
"author": "Tod Kurt <todbotdotcom@gmail.com> (https://github.com/todbot)",
"license": "ISC",
Expand Down Expand Up @@ -37,15 +37,15 @@
},
"dependencies": {
"bootstrap": "^4.6.0",
"node-hid": "^2.1.1",
"node-hid": "^2.1.2",
"react": "^17.0.2",
"react-bootstrap": "^1.6.1",
"react-dom": "^17.0.2",
"source-map-support": "^0.5.19"
},
"devDependencies": {
"@babel/preset-react": "^7.14.5",
"electron": "14.2.1",
"electron": "^18.3.15",
"electron-builder": "^22.4.1",
"electron-notarize": "^1.1.0",
"electron-webpack": "^2.8.2",
Expand Down
2 changes: 1 addition & 1 deletion src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function createMainWindow() {
})

if (isDevelopment) {
window.webContents.openDevTools()
window.webContents.openDevTools({mode:'detach'})
}

if (isDevelopment) {
Expand Down
5 changes: 5 additions & 0 deletions src/renderer/deviceList.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ export default class DeviceList extends React.Component {
<h1> Electron HID Toy! </h1>
</Col>
</Row>
<Row>
<Col>
<p> Electron version: {process.versions.electron}</p>
</Col>
</Row>
<Row>
<Col>
<h4> HID devices connected</h4>
Expand Down

0 comments on commit e3eb83f

Please sign in to comment.