Fix PyInstaller volatility and bundle dependencies (v0.2.8)

- Separated internal ROOT from persistent DATA_DIR to prevent user sites from being saved to the volatile PyInstaller _MEIPASS temp directory.
- Updated unit tests to correctly mock DATA_DIR and ensure complete isolation between tests.
- Fixed binaries.yml and requirements.txt to correctly bundle the pinned Flask/Werkzeug versions, preventing onionshare-cli import failures in the standalone binary.
This commit is contained in:
thePR0M3TH3AN committed 2026-03-15 20:23:04 -04:00
1 parent 994744ee60
commit 69ca9f6411
7 files changed
+214 -115

No files matched your search

+1
View File
@@ -35,6 +35,7 @@ jobs:
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install .
pip install pyinstaller pyinstaller-hooks-contrib
- name: Download Tor Binaries