Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.

Commit 2cf1325

Browse files
authored
Merge pull request #246 from pycom/release-v2.1.10
Release v2.1.10
2 parents 6afd03b + d76f766 commit 2cf1325

File tree

8 files changed

+1251
-1809
lines changed

8 files changed

+1251
-1809
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## [2.1.12] - 18.04.2021
2+
### Fixed
3+
* update bindings for wind 32 to match new atom version
4+
5+
## [2.1.11] - 18.04.2021
6+
### Fixed
7+
* update bindings for wind 64 to match new atom version
8+
9+
## [2.1.10] - 17.04.2021
10+
### Fixed
11+
* update bindings to match new atom version
12+
113
## [2.1.9] - 15.01.2021
214
### Fixed
315
* confirmation dialog issue
Binary file not shown.
Binary file not shown.

package-lock.json

Lines changed: 1223 additions & 1806 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pymakr",
33
"main": "./lib/main.js",
4-
"version": "2.1.9",
4+
"version": "2.1.12",
55
"description": "Adds a REPL console to Atom that connects to your Pycom board. It can run code on the board or synchronize your project files to it.",
66
"keywords": [
77
"Pycom",
@@ -26,15 +26,15 @@
2626
"commander": "^2.13.0",
2727
"crypto": "^1.0.1",
2828
"debug": "^4.1.0",
29+
"draggabilly": "2.2.0",
2930
"electron-rebuild": "^1.8.5",
3031
"element-resize-detector": "^1.1.14",
3132
"font-awesome": "^4.7.0",
3233
"jquery": "^3.4.0",
3334
"lie": "^3.1.0",
34-
"draggabilly": "2.2.0",
3535
"nan": "^2.9.2",
3636
"ncp": "^2.0.0",
37-
"node-abi": "^2.12.0",
37+
"node-abi": "^2.19.3",
3838
"object.assign": "^4.0.3",
3939
"parser-byte-length": "^1.0.2",
4040
"parser-cctalk": "^1.0.2",

scripts/post-install.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const fs = require('fs');
22
const rimraf = require('rimraf');
33
const path = require('path');
4+
const os = require('os');
45

56
const dir = __dirname.replace('/scripts', '').replace('\\scripts', '');
67
const bindings_target = `${dir}/node_modules/@serialport/bindings/build/release`;
@@ -58,6 +59,18 @@ function postInstall() {
5859
`${dir}/native_modules/@serialport`,
5960
`${dir}/node_modules`,
6061
);
62+
if(os.platform() === 'win32') {
63+
console.log('win32 bindings file copy');
64+
try {
65+
copyFolderRecursiveSync(
66+
`${dir}/native_modules/@serialport/bindings`,
67+
`${dir}/node_modules`,
68+
);
69+
} catch (e) {
70+
console.log(e.message);
71+
}
72+
}
73+
6174
console.log('Success.');
6275
} catch (error) {
6376
console.log("Failed to copy bindings file, pymakr won't work");

0 commit comments

Comments
 (0)