diff --git a/.github/workflows/binaries.yml b/.github/workflows/binaries.yml index e7ee99c..33b2113 100644 --- a/.github/workflows/binaries.yml +++ b/.github/workflows/binaries.yml @@ -49,6 +49,11 @@ jobs: if [ "$RUNNER_OS" == "Windows" ]; then SEP=";"; else SEP=":"; fi pyinstaller --onefile \ --collect-all onionshare_cli \ + --collect-all flask_socketio \ + --collect-all engineio \ + --collect-all socketio \ + --collect-all eventlet \ + --collect-all gevent \ --add-data "voxvera/locales${SEP}voxvera/locales" \ --add-data "voxvera/src${SEP}voxvera/src" \ --add-data "voxvera/templates${SEP}voxvera/templates" \ diff --git a/ci/test-e2e.sh b/ci/test-e2e.sh index 4381196..49b0ec3 100755 --- a/ci/test-e2e.sh +++ b/ci/test-e2e.sh @@ -125,10 +125,23 @@ if [ "${VOXVERA_E2E_OFFLINE:-}" != "1" ]; then # Robustness: Manually update the config.json with the URL so verification passes # and the site is actually using the live onion address. echo "Updating $host_dir/config.json with live URL: $URL" - python3 -c "import json, sys; d=json.load(open('$host_dir/config.json')); d['url']='$URL'; json.dump(d, open('$host_dir/config.json', 'w'), indent=2)" + python3 <&2 cat "$host_dir/config.json" kill $OS_PID || true diff --git a/pyproject.toml b/pyproject.toml index 551d426..662c47d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ voxvera = ["templates/**", "src/**", "resources/**", "locales/**", "resources/bi [project] name = "voxvera" -version = "0.2.1" +version = "0.2.2" description = "VoxVera CLI utilities" readme = "README.md" authors = [{name = "VoxVera"}] diff --git a/voxvera/__init__.py b/voxvera/__init__.py index 39d3488..647a20c 100644 --- a/voxvera/__init__.py +++ b/voxvera/__init__.py @@ -1,7 +1,7 @@ import sys from pathlib import Path -__version__ = "0.2.1" +__version__ = "0.2.2" # Add the vendor directory to sys.path as a fallback. if getattr(sys, 'frozen', False):