-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
issue with "contains executable code" #689
Comments
It is not an error. electron-builder automatically compute correct
If you still want to explicitly set "asar": {
"unpack": "your value"
} But as far I see electron-builder correctly detects DLLs and unpack it. |
Thank you for your fast answer! And i still get the same error : / |
What error do you mean? " is not packed into asar archive - contains executable code" is not an error and not even a warning — it is just info. |
True its just info, im sorry i was a bit unclear here. I get this following error message after and i thought it was because of the asar.unpack thing: |
is it possible to share project? |
Thats not really possible since its a commercial project. I can share whatever information you need though. |
I think it will be possible to create simple project using only |
If you cannot wait, you can temporary disable asar: |
Here are a small sample project: --downloaded-- |
@virror Thanks for sample project, fixed. |
Np, happy to help : ) |
Im trying to use asar to get a dll and a node file as a dependency to my project, but im getting the error: "node_modules\nodeaep is not packed into asar archive - contains executable code"
This worked fine before in 4.x.
Part of the package.json:
"devDependencies": {
"electron-builder": "^5.30.0",
"electron": "^1.3.3"
},
"build": {
"asar.unpack": "/app/{VROOT/, node_modules/*/.+(lua|node|dll)}",
},
The text was updated successfully, but these errors were encountered: