fixed node-hid bindings

This commit is contained in:
Adrian Baumgart 2023-10-08 21:14:40 +02:00
parent 0c98fa93ea
commit e90cd862ce
No known key found for this signature in database
3 changed files with 950 additions and 20 deletions

View File

@ -2,14 +2,14 @@ name: Build app
on:
push:
branches:
- testing
- main
jobs:
build:
runs-on: ${{ matrix.runner }}
strategy:
matrix:
runner: [ macos-latest ]
runner: [ windows-latest ]
steps:
- uses: actions/checkout@v1

View File

@ -8,12 +8,14 @@
"build": "tsc",
"watch": "tsc -w",
"dev": "npm run build && node ./dist/index.js",
"make": "npm run build && pkg --compress GZip ."
"make": "npm run build && pkg --compress GZip .",
"postinstall": "electron-rebuild"
},
"pkg": {
"scripts": [],
"assets": [
"node_modules/figlet/fonts/Standard.flf"
"node_modules/figlet/fonts/Standard.flf",
"node_modules/node-hid/**"
],
"targets": [
"node16.16.0-win-x64"
@ -40,6 +42,7 @@
"@types/figlet": "^1.5.6",
"@types/inquirer": "^9.0.3",
"@types/node": "^20.8.3",
"electron-rebuild": "^3.2.9",
"pkg": "^5.8.1",
"typescript": "^5.2.2"
}

959
yarn.lock

File diff suppressed because it is too large Load Diff