Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## [2.1.12] - 18.04.2021
### Fixed
* update bindings for wind 32 to match new atom version

## [2.1.11] - 18.04.2021
### Fixed
* update bindings for wind 64 to match new atom version

## [2.1.10] - 17.04.2021
### Fixed
* update bindings to match new atom version

## [2.1.9] - 15.01.2021
### Fixed
* confirmation dialog issue
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3,029 changes: 1,223 additions & 1,806 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pymakr",
"main": "./lib/main.js",
"version": "2.1.9",
"version": "2.1.12",
"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.",
"keywords": [
"Pycom",
Expand All @@ -26,15 +26,15 @@
"commander": "^2.13.0",
"crypto": "^1.0.1",
"debug": "^4.1.0",
"draggabilly": "2.2.0",
"electron-rebuild": "^1.8.5",
"element-resize-detector": "^1.1.14",
"font-awesome": "^4.7.0",
"jquery": "^3.4.0",
"lie": "^3.1.0",
"draggabilly": "2.2.0",
"nan": "^2.9.2",
"ncp": "^2.0.0",
"node-abi": "^2.12.0",
"node-abi": "^2.19.3",
"object.assign": "^4.0.3",
"parser-byte-length": "^1.0.2",
"parser-cctalk": "^1.0.2",
Expand Down
13 changes: 13 additions & 0 deletions scripts/post-install.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const fs = require('fs');
const rimraf = require('rimraf');
const path = require('path');
const os = require('os');

const dir = __dirname.replace('/scripts', '').replace('\\scripts', '');
const bindings_target = `${dir}/node_modules/@serialport/bindings/build/release`;
Expand Down Expand Up @@ -58,6 +59,18 @@ function postInstall() {
`${dir}/native_modules/@serialport`,
`${dir}/node_modules`,
);
if(os.platform() === 'win32') {
console.log('win32 bindings file copy');
try {
copyFolderRecursiveSync(
`${dir}/native_modules/@serialport/bindings`,
`${dir}/node_modules`,
);
} catch (e) {
console.log(e.message);
}
}

console.log('Success.');
} catch (error) {
console.log("Failed to copy bindings file, pymakr won't work");
Expand Down