aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2023-05-21 16:30:45 -0700
committerSaptak S <saptak013@gmail.com>2023-05-22 12:22:18 +0530
commita94c7c8f92a55b180a89510efb865fafd5de176f (patch)
treeac38a8dc0b13bdd8200e8ca78c422ed5dd3b67ea
parentc34fb5a393fc099a8945d25ecced1325d4e1c317 (diff)
downloadonionshare-a94c7c8f92a55b180a89510efb865fafd5de176f.tar.gz
onionshare-a94c7c8f92a55b180a89510efb865fafd5de176f.zip
Fix windows build script for new version of PySide6
-rw-r--r--desktop/README.md4
-rw-r--r--desktop/scripts/build-windows.py2
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",