-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
electron-builder loses *.h file with and without asar active #1971
Comments
Yes |
Yes they are part of my app. Is there a way to include them ? |
@Alexisdu31 Fixed in the 19.24.2 .h files must be filtered out only from node_modules, not from app. |
Thank you verry much @develar, it's work perfectly !
I just found i have Its possible to delete o file in Alexis |
Quite uncommon for apps to have o files, so, we just should include it — if someone need to exclude it, well, just ignore. For node_modules should be removed as before. Fix #1971
Quite uncommon for apps to have o files, so, we just should include it — if someone need to exclude it, well, just ignore. For node_modules should be removed as before. 19.24.3
Will not work because these releases are not latest, tag |
Thank you very much @develar! |
In my application, I'm using some "*.h" file. When I run
npm run dist
script ("dist": "build"
) all of my "*.h" files disappear on the unpack folder (and the executable is unusable). It's not an asar problem, I tryasarUnpack
and"asar" : "false"
for unpack my folder with my "*.h" and I have the same result.Every "*.h" file in every subfolder is deleted, no exception...
At the beginning I suspected asar, but I installed it globally with npm on my computer and it's work perfectly : my "*.h" files are not lost. (
asar pack myFolder myFolder.asar
andasar e myFolder.asar testFolder
)The text was updated successfully, but these errors were encountered: