-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
active-win not working after release #121
Comments
@thanhnvpk01168 how fid you fix it? Me also facing the same issue on BigSur but in development environment as well. |
Are you guys using electron forge? |
Nope, I'm not using any boilerplate. |
I'm facing the same issue. Has anyone already resolved the issue? Best regards. |
This could be due to the app not having the screen recording permission and getting killed by macOS. Does the permission prompt show up in your case? |
This is the error when i log in catch
my code:
let result=""
try {
result = await activeWindow()
} catch (error) {
console.log("erorr: ",JSON.stringify(error))
}
error:
{
"killed":false,
"code":null,
"signal":"SIGILL",
"cmd":"/Users/myname/Documents/projecttest/dist/mas/AppTest.app/Contents/Resources/app.asar.unpacked/node_modules/active-win/main",
"stdout":"",
"stderr":""
}
Environment:
macOS Big Sur 11.2.3
electron:11.2.1
node: 14.15.0
active-win: 7.6.0
Can anyone help me urgently?
thanks in advance
The text was updated successfully, but these errors were encountered: