asar smart unpack unpacks the whole lzma-native module
See original GitHub issue- Version: 19.4.0
- Target: dmg
From https://github.com/electron-userland/electron-builder/issues/1723.
Enabling smartUnpack
causes the whole lzma-native
module to be unpacked for some reason.
$ ls dist/mac/Etcher.app/Contents/Resources/app.asar.unpacked/node_modules
lzma-native/
$ ls dist/mac/Etcher.app/Contents/Resources/app.asar.unpacked/node_modules/lzma-native
LICENSE binding/ build/ deps/ liblzma-build.sh* node_modules/ src/
bin/ binding.gyp cflags.sh* index.js liblzma-config.sh* package.json
Try to build Etcher (https://github.com/resin-io/etcher) for an example.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
How to unpack an .asar file? - node.js - Stack Overflow
From the asar documentation. (the use of npx here is to avoid to install the asar tool globally with npm install -g asar...
Read more >lzma-native - npm
Provides bindings to the native liblzma library (.xz file format, among others). Latest version: 8.0.6, last published: a year ago.
Read more >Scans still show malware on my PC - Bleeping Computer
Hello, I came here about two months ago after I had a trojan on my PC, I followed all the steps and it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
19.8.0 released.
Awesome, thanks a lot for the quick fix. Please let me know when you publish this to npm.
Yeah, we’ve been wanting to move to Yarn for a while, but there are some issues with optional dependencies that prevented us from adopting it. There were some yarn tickets we were tracking for this, so maybe a good time to give it another go.