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

Search an alternative process for usb-detection. #23

Closed
1 of 2 tasks
k-matsuzawa opened this issue Jul 19, 2021 · 3 comments
Closed
1 of 2 tasks

Search an alternative process for usb-detection. #23

k-matsuzawa opened this issue Jul 19, 2021 · 3 comments
Assignees
Labels
Task task item

Comments

@k-matsuzawa
Copy link
Collaborator

k-matsuzawa commented Jul 19, 2021

Overview

  • The support deadline for Electron v11 is approaching. (aug 31)

Sub tasks

  • investigation and examination
  • Prototype of alternative processing

Completion condition

  • This library must be able to be used successfully with Electron 12.
@k-matsuzawa k-matsuzawa added the Task task item label Jul 19, 2021
@k-matsuzawa k-matsuzawa self-assigned this Jul 19, 2021
@k-matsuzawa
Copy link
Collaborator Author

memo:

  • node-usb on mac : 🆗
  • node-usb on windows: 🆖
    • Notice is delay or lost. I'll look into possible countermeasures.

@k-matsuzawa
Copy link
Collaborator Author

node-usb on windows:

By changing the device timeout to 5000ms, it can now be detected successfully.

This workaround may also work for Macs connected via the Dock.

@k-matsuzawa
Copy link
Collaborator Author

All the libraries you are using need to be migrated to N-API or support Context Aware.

Sorry, time limit was electron v14.

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

No branches or pull requests

1 participant