-
Notifications
You must be signed in to change notification settings - Fork 10
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
.asar files are treat like folders #7
Comments
@rasq according to electron docs, node APIs treat |
It will be good to have option to set archives as files for klaw. |
Hey, late response but now you can filter out directories when traversing. You can look at this test to see how you can do it. |
Im facing this exact problem right now. Treating .asar as directory is a killer when trying to create an MSI package using wix. Would be nice to have a clear example of how to treat them like files. Current Code from electron-wix-msi (https://github.com/felixrieseberg/electron-wix-msi)
|
@markmorris your code uses klaw and not |
OS: Windows 10.
Unfortunetly klaw-sync treat .asar folders like foders and list's all files that are inside.
this is very problematic, because thouse files are not accesible, example:
electron.asar\browser\api\app.js
electron.asar\browser\api\auto-updater\auto-updater-native.js
The text was updated successfully, but these errors were encountered: