usb-native
v6.0.0
Published
precompile cross-platform serialport and usb-detection dll libraries and load libraries according to platform
Downloads
15
Readme
node-usb-native
- Update electron version in index.js
- Update electron version in ./scripts/rebuild-serialport.js
node-gyp rebuild --target=[new-electron-version] --arch=x64 --dist-url=https://atom.io/download/electron
- Run Travis CI job to compile cross-platform libraries for the electron version
- Get new native binaries from https://github.com/VSChina/serialport.node/releases.
- Place the new libraries under
/native
folder and remove the useless libraries to reduce package size. - Update package version number and run
npm publish
ro publish the new version.