-
Notifications
You must be signed in to change notification settings - Fork 974
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use node-pre-gyp. #64
Comments
#57 is related. This will cut down on the dependencies. |
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. |
даешь robotjs for nodejs 4 |
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. |
+1 |
+1 great idea! |
+1 |
3 similar comments
+1 |
+1 |
+1 |
+1, really need this. I would like to include it into one of Blynk App turorials! |
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. |
@octalmage have you considered prebuild instead of |
@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! |
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. |
Windows 64bit is up, the majority of users won't have to compile! |
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. |
So it is still not possible to use RobotJS with Electron? |
It's very possible! I do it all of the time. See: |
You just have to build RobotJS for Electron. |
Installing and compiling RobotJS requires Python and Visual Studio on Windows and this takes a while to get setup. Instead we can provide pre-built binaries that can be installed using npm. This will greatly improve the end-user experience.
The text was updated successfully, but these errors were encountered: