From cbc4f25be7e09e99ed5b03baaff06d1fb64d7c8a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 5 Dec 2021 08:16:54 +1000 Subject: [PATCH] ensure all packaged files are world-readable https://forums.ankiweb.net/t/anki-2-1-50-beta/15608/4 --- qt/package/build.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qt/package/build.py b/qt/package/build.py index 0c792a68c..17df9bd2b 100644 --- a/qt/package/build.py +++ b/qt/package/build.py @@ -225,6 +225,9 @@ def merge_into_dist(output_folder: Path, pyqt_src_path: Path): ], check=True, ) + # Ensure all files are world-readable + if not is_win: + subprocess.run(["chmod", "-R", "a+r", output_folder]) build_pyoxidizer()