Skip to content

v0.2.2 - Improved Electron Support

Choose a tag to compare

@HaowenWeiJohn HaowenWeiJohn released this 15 Aug 21:16
· 3 commits to main since this release

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_LSL environment 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