Skip to content
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

Does not work on windows 11 #746

Open
mateuscolli opened this issue Jul 12, 2023 · 1 comment
Open

Does not work on windows 11 #746

mateuscolli opened this issue Jul 12, 2023 · 1 comment

Comments

@mateuscolli
Copy link

I'm developing an application for remote access, using Electron for interface and build. This app will be installed on my client's computer which is mostly Windows 7/8/10/11, x64 and x86. To try and cover them all with a single build, I'm trying to compile with windows ia32. However, during the tests I noticed that in Windows 11 the remote control with Robotjs does not work, and does not return any errors. I've tried debugging anyway and I still don't get any errors.

Attempts

I've tried rebuilding Robotjs with:

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

I've tried using other precompiled forks like:

Expected behavior

Remotely access other computers and control them.

Current Behavior

No mouse movement or keyboard key is pressed. No kind of control.

Your environment

  • RobotJS version: 0.6.0
  • Node.js version: 16.20.1
  • npm version: 8.19.4
  • Operating System: Windows 10 Pro x86
@orange250
Copy link

window OS ?need build 需要编译 node-gyp 工具

  1. 安装 python3.11
    2.安装visual studio 2022 支持桌面C++的选项√上
  2. cd到 robot目录执行 node-gyp rebuild
    多看看 http://robotjs.io/docs/building

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants