p5.serialcontrol
GUI (Electron) application for use with p5.serialport
Runs and controls p5.serialserver (no need to install and run it separately)
Download a release here: releases
OSX Development
Install dependencies
npm install
Rebuild serialport library (more on this here)
rm -rf node_modules/serialport/build/*
node_modules/.bin/electron-rebuild -w serialport -f
OSX Compilation
npm install electron-packager
electron-packager ./ p5.serialcontrol --arch=x64 --platform=darwin --overwrite
ORnpm run package-mac
Windows Development
Install dependencies
npm install
Rebuild serialport library
cd p5.serialcontrol/node_modules/p5.serialserver/node_modules/serialport
HOME=~/.electron-gyp node-gyp rebuild --target=1.7.8 --arch=x64 --dist-url=https://atom.io/download/atom-shell
Note: target
is the Electron version and should match version
below
Windows Compilation
npm install electron-packager
electron-packager ./ p5.serialcontrol --version=1.7.8
ORnpm run package-win