π Release v0.3.0
β¨ What's New
Native Electron ASAR Support - The package now works out-of-the-box with Electron applications! No more post-install patches needed.
π§ Key Features
- Automatic ASAR Detection: Detects when running inside an Electron ASAR archive and adjusts paths accordingly
- Smart Path Resolution: Automatically finds native binaries in
app.asar.unpackedduring production builds - Multiple Fallbacks: Tries several paths including
process.resourcesPathfor maximum compatibility - Better Debugging: Console logging shows exactly where the library loads from
- Backward Compatible: Still works perfectly in standard Node.js environments
π Problem Solved
Previously, when Electron applications were packaged with electron-builder, the native LSL binaries would fail to load because they were inside the ASAR archive. Users had to apply post-install patches to fix the library paths.
This release eliminates that requirement by making the package intelligent enough to find the unpacked binaries automatically.
π¦ Installation
npm install node-labstreaminglayer@0.3.0π Acknowledgments
This release addresses the Electron packaging issues reported by the community. Thank you for your feedback!
π€ Generated with Claude Code