GithubHelp home page GithubHelp logo

Use node-pre-gyp. about robotjs HOT 21 CLOSED

octalmage avatar octalmage commented on June 25, 2024 3
Use node-pre-gyp.

from robotjs.

Comments (21)

blak3r2 avatar blak3r2 commented on June 25, 2024 2

+1

from robotjs.

tamkeen-tms avatar tamkeen-tms commented on June 25, 2024 1

+1

from robotjs.

lukasvy avatar lukasvy commented on June 25, 2024 1

+1

from robotjs.

octalmage avatar octalmage commented on June 25, 2024 1

Windows 64bit is up, the majority of users won't have to compile!

from robotjs.

octalmage avatar octalmage commented on June 25, 2024

#57 is related. This will cut down on the dependencies.

from robotjs.

DennisBecker avatar DennisBecker commented on June 25, 2024

Would like to see that, I also want to use robotjs in an electron app for better use with other functionality where AHK won't fit.

from robotjs.

xxxalz avatar xxxalz commented on June 25, 2024

даешь robotjs for nodejs 4

from robotjs.

brendanadnerb avatar brendanadnerb commented on June 25, 2024

I'm also trying to use it in an Electron app; it works perfectly on Mac but I'm having a lot of trouble getting it to work on Windows, because of these dependencies (not sure if Python and VS are not installed quite right or what). We are also eventually moving to Linux. Shipping with everything self-contained and verified working cross-platform would be awesome.

from robotjs.

janosgy avatar janosgy commented on June 25, 2024

+1

from robotjs.

tukutela avatar tukutela commented on June 25, 2024

+1 great idea!

from robotjs.

sops21 avatar sops21 commented on June 25, 2024

+1

from robotjs.

vshymanskyy avatar vshymanskyy commented on June 25, 2024

+1, really need this. I would like to include it into one of Blynk App turorials!

from robotjs.

octalmage avatar octalmage commented on June 25, 2024

I'll look into it soon! When I looked into it previously I decided to wait until RobotJS was more stable. It's going to take a bunch of work, but it might be worth it at this point.

from robotjs.

vweevers avatar vweevers commented on June 25, 2024

@octalmage have you considered prebuild instead of pre-gyp? I recommend it, if you're cool with hosting binaries on Github. Setup is almost effortless.

from robotjs.

octalmage avatar octalmage commented on June 25, 2024

@vweevers I've never heard of it! It looks pretty easy to setup, just wonder how support and adoption is. node-pre-gyp is supported by Mapbox, and used by many huge projects. I'm not sure about prebuild. I'll look into it though!

from robotjs.

octalmage avatar octalmage commented on June 25, 2024

Prebuilt looks really legit, and levelDOWN uses it. That's good enough for me. I'll work on this today.

Thanks @vweevers!

from robotjs.

octalmage avatar octalmage commented on June 25, 2024

I've got most of the builds up, and RobotJS v0.4.2 is using Prebuild! Windows 64bit is missing and I'm working on those builds now.

from robotjs.

octalmage avatar octalmage commented on June 25, 2024

I reopened this, prebuild doesn't natively support Electron and that's an issue for me. I also want the builds to be built and published automatically, so node-pre-gyp is still something we're going to need. Prebuild works good enough for now though.

from robotjs.

DennisBecker avatar DennisBecker commented on June 25, 2024

So it is still not possible to use RobotJS with Electron?

from robotjs.

octalmage avatar octalmage commented on June 25, 2024

It's very possible! I do it all of the time. See:

http://robotjs.io/docs/electron

from robotjs.

octalmage avatar octalmage commented on June 25, 2024

You just have to build RobotJS for Electron.

from robotjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.