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: on:
push: push:
branches: branches:
- testing - main
jobs: jobs:
build: build:
runs-on: ${{ matrix.runner }} runs-on: ${{ matrix.runner }}
strategy: strategy:
matrix: matrix:
runner: [ macos-latest ] runner: [ windows-latest ]
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1

View File

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

959
yarn.lock

File diff suppressed because it is too large Load Diff