mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2026-10-27 09:40:40 +00:00
The previous fix only used the system binary for non-frozen (pip/pipx) installs. But the PyInstaller binary also needs this — it downloads successfully but its bundled onionshare_cli import still crashes on 'No module named pkg_resources'. Now both serve() and _internal_onionshare() unconditionally prefer the system onionshare-cli/onionshare binary via shutil.which(), falling back to the Python import only if no system binary exists. Co-Authored-By: Claude Opus 4.6 <[email protected]>