A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/octalmage/robotjs/wiki/Electron below:

Electron · octalmage/robotjs Wiki · GitHub

You can use this line to rebuild RobotJS for Electron:

npm rebuild --runtime=electron --target=1.1.3 --disturl=https://atom.io/download/atom-shell --abi=48

Target should be the Electron version, and abi should be the abi version of the included Node. You can check what version of Node is used in Electron by looking it up in the releases page or by using process.version (see Quick Start for example) or run electron -v && electron -a. You can find the correct abi version here.

You can include this line in the scripts section of your package.json to build RobotJS automatically.

  "rebuild": "npm rebuild --runtime=electron --target=1.1.3 --disturl=https://atom.io/download/atom-shell --abi=48"

Run npm i -D electron-rebuild to add the electron-rebuild package (if not already installed).

Run ./node_modules/.bin/electron-rebuild to rebuild everything.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4