Skip to content

Commit 9f26d8c

Browse files
authored
Merge pull request #79 from retiutut/v2.0.6
V2.0.6
2 parents a47c073 + 9491c4e commit 9f26d8c

File tree

6 files changed

+25
-11
lines changed

6 files changed

+25
-11
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2016 OpenBCI
3+
Copyright (c) 2019 OpenBCI
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ All packaging actions are handled by [electron-builder](https://github.com/elect
136136

137137
**Note:** There are various icons and bitmap files in `resources` directory. Those are used in installers and intended to be replaced by your own graphics.
138138

139+
**Note:** After OpenBCI NPM package update (ex. [@openbci/cyton](https://www.npmjs.com/package/@openbci/cyton)), use `npm run clean-install` and then `npm run release`.
140+
139141
# License
140142

141143
Released under the MIT license.

app/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "openbci-electron-hub",
33
"productName": "OpenBCIHub",
44
"description": "OpenBCIHub",
5-
"version": "2.0.5",
5+
"version": "2.0.6",
66
"author": "AJ Keller <hello@pushtheworld.us>",
77
"copyright": "© 2018, OpenBCI inc.",
88
"homepage": "http://openbci.com",
@@ -15,9 +15,9 @@
1515
"lodash": "^4.16.6",
1616
"menubar": "^5.1.0",
1717
"node-ssdp": "^3.2.1",
18-
"openbci-cyton": "^1.1.3",
19-
"openbci-ganglion": "^1.2.0",
20-
"openbci-utilities": "^0.2.7",
21-
"openbci-wifi": "^0.4.1"
18+
"@openbci/cyton": "^2.0.1",
19+
"@openbci/ganglion": "^2.0.0",
20+
"@openbci/utilities": "^1.0.0",
21+
"@openbci/wifi": "^1.0.1"
2222
}
2323
}

changelog.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# v2.0.6
2+
3+
### New Features
4+
5+
- Add "clean-install" script to package.json
6+
7+
### Bug Fixes
8+
9+
- Update OpenBCI npm module names
10+
- Fix Mac built-in BLE functionality
11+
112
# v2.0.5
213

314
### Bug Fixes

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"scripts": {
2727
"postinstall": "node ./node_modules/electron-builder/out/install-app-deps.js",
2828
"build": "gulp build",
29+
"clean-install": "cd app && rm -rf node_modules && git clean -fX && npm install",
2930
"prerelease": "gulp build --env=production",
3031
"release": "build --publish never",
3132
"release-win32": "build --ia32 --publish never",

src/background.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import net from "net";
2-
import Ganglion from "openbci-ganglion"; // native npm module
3-
import Wifi from "openbci-wifi";
4-
import { Constants } from "openbci-utilities";
5-
import Cyton from "openbci-cyton";
2+
import Ganglion from "@openbci/ganglion"; // native npm module
3+
import Wifi from "@openbci/wifi";
4+
import { constants } from "@openbci/utilities";
5+
import Cyton from "@openbci/cyton";
66
import menubar from "menubar";
77
import * as _ from "lodash";
88
import { ipcMain, dialog } from "electron";
99
import path from "path";
1010
import ip from "ip";
1111

1212
/** TCP */
13-
const k = Constants;
13+
const k = constants;
1414
const kTcpActionSet = "set";
1515
const kTcpActionStart = "start";
1616
const kTcpActionStatus = "status";

0 commit comments

Comments
 (0)