From a94c7c8f92a55b180a89510efb865fafd5de176f Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sun, 21 May 2023 16:30:45 -0700 Subject: Fix windows build script for new version of PySide6 --- desktop/README.md | 4 +++- desktop/scripts/build-windows.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/desktop/README.md b/desktop/README.md index 57d02f27..c1e869ab 100644 --- a/desktop/README.md +++ b/desktop/README.md @@ -29,7 +29,9 @@ poetry install **Linux users:** In Ubuntu you may need the `libxcb-xinerama0` package installed. -**Windows users:** Download and install 7-Zip (x64) from https://7-zip.org/download.html. [Add](https://medium.com/@kevinmarkvi/how-to-add-executables-to-your-path-in-windows-5ffa4ce61a53) `C:\Program Files\7-Zip` to your path. +**Windows users:** +- Download and install 7-Zip (x64) from https://7-zip.org/download.html. [Add](https://medium.com/@kevinmarkvi/how-to-add-executables-togit fethc-your-path-in-windows-5ffa4ce61a53) `C:\Program Files\7-Zip` to your path. +- Download and install gpg4win from https://gpg4win.org/. Add `C:\Program Files (x86)\GnuPG\bin` to your path too. Download Tor Browser and extract the binaries for your platform. The platform must be `win64`, `macos`, or `linux64`. diff --git a/desktop/scripts/build-windows.py b/desktop/scripts/build-windows.py index 2cc129bc..ca4d8ede 100644 --- a/desktop/scripts/build-windows.py +++ b/desktop/scripts/build-windows.py @@ -324,7 +324,7 @@ def cleanup_build(): build_path = os.path.join(desktop_dir, "build", "exe.win-amd64-3.10") before_size = get_size(build_path) - for dirname in ["examples", "qml"]: + for dirname in ["qml"]: shutil.rmtree(os.path.join(build_path, "lib", "PySide6", dirname)) for dirname in [ "assetimporters", -- cgit v1.2.3-54-g00ecf