diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1742819..678742c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,6 +52,12 @@ jobs: with: python-version: '3.13' + - name: Install Windows SDK + if: matrix.os == 'windows-latest' + run: | + # Install Windows 10 SDK with required components + choco install windows-sdk-10-version-2004-all + - name: Set up Node.js uses: actions/setup-node@v3 with: @@ -63,6 +69,21 @@ jobs: pip install poetry poetry install + - name: Install Linux system dependencies + if: matrix.os == 'ubuntu-latest' + run: | + sudo apt-get update + sudo apt-get install -y \ + libpulse0 \ + libxkbcommon-x11-0 \ + libxcb-cursor0 \ + libxcb-icccm4 \ + libxcb-keysyms1 \ + libxcb-shape0 \ + libxcb-xkb1 \ + libxcb-render-util0 \ + libxcb-image0 + - name: Install Node.js dependencies working-directory: frontend run: | diff --git a/scripts/build.py b/scripts/build.py index 95cdf4d..867b977 100644 --- a/scripts/build.py +++ b/scripts/build.py @@ -63,6 +63,8 @@ def main() -> None: f"{frontend_dir / 'dist'}{';' if args.os == 'windows' else ':'}frontend/dist", # Add hidden imports for path utilities "--hidden-import=radio_telemetry_tracker_drone_gcs.utils.paths", + # Add scipy hidden imports + "--hidden-import=scipy.special._cdflib", ] # Optional: add an icon if you have one in assets/