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
二进制adb文件,electron构建之后在某些系统内无法访问 #11566
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines. |
问题依旧没有解决,问了一圈社区里的人,都说是electron的问题,希望能帮忙指导一下,怎么解决。 |
Edited as it is irrelevant |
@KagamiChan i know, but my example code did not use fs or anything similar, please help me, check my example code . some os the dir path is |
Duplicate of #9459 |
Good catch @sindresorhus 👍 Closing as duplicate |
not understand step:
|
Expected behavior
可以启动adb service通过
adb devices
获取到设备idActual behavior
adb放置在
resources/mac/adb
,代码写在src/index.js中,整体的目录结构如下:代码:
How to reproduce
将上述代码做为一个npm包,假设叫
adb-test-a
,然后在electron工程里,npm install adb-test-a
,调用start_server
,必抛错误:Error : spawn ENOTDIR
。The text was updated successfully, but these errors were encountered: