v0.2.2 - Improved Electron Support
What's Changed
π Bug Fixes
- Fixed native library loading for Electron applications
- Improved ASAR path handling with safer regex replacement
- Enhanced cross-platform architecture detection
β¨ Improvements
- Added ARM64 architecture support for Windows (via x64 emulation)
- Added multiple fallback paths for different Electron build structures
- Added debug logging capability (enable with
DEBUG_LSLenvironment variable) - Improved error messages with troubleshooting guidance
- Better handling of edge cases in path resolution
π§ Technical Details
- Fixed path traversal from compiled TypeScript output
- Added deduplication of searched paths for efficiency
- Enhanced Electron resources path detection
- Improved architecture fallback handling
This release ensures compatibility with both regular Node.js applications and packaged Electron apps, including proper ASAR unpacking support.
npm Package
Published to npm: https://www.npmjs.com/package/node-labstreaminglayer