-
Update serialport and usb-detection package version in package.json, ensuring the versions of them meets the need of new version electron. Search serialport and usb-detection repo to find the coresponding version number.
-
Update electron version in .travis.yml
gulp build --electron=[new-electron-version] --token="$API_TOKEN" --tag="downloads"
-
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
./lib/native
folder and remove the useless libraries to reduce package size. -
Update package version number and run
npm publish
ro publish the new version.
forked from Sneezry/serialport.node
-
Notifications
You must be signed in to change notification settings - Fork 6
VSChina/serialport.node
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- JavaScript 100.0%