Skip to content

Play your own Switch games on iPhone/iPad — one-click macOS app, no terminal. | 把 Switch 游戏装进 iPhone:图形界面一键构建,不用命令行。Bring your own game.

Qt package: install PySide6-Essentials, not the umbrella package (591 MB -> 80 MB)

LNPANDYb5da4f105634
diff --git a/.github/workflows/build-qt.yml b/.github/workflows/build-qt.yml
index 913d1606..867edd5f 100644
--- a/.github/workflows/build-qt.yml
+++ b/.github/workflows/build-qt.yml
@@ -39,7 +39,11 @@ jobs:
- name: Install PySide6 and PyInstaller
run: |
python -m pip install --upgrade pip
- python -m pip install PySide6 pyinstaller
+ # PySide6-Essentials only: no Addons, no Pdf, no WebEngine. The umbrella 'PySide6'
+ # package installs all of them (WebEngine alone is 250 MB) and PyInstaller's Qt hooks
+ # then copy every installed module regardless of --exclude-module — measured: a full
+ # install produced a 591 MB bundle with the same exclusions in place.
+ python -m pip install PySide6-Essentials pyinstaller
- name: Generate the localisation table
run: python frontend-qt/gen_localization.py