From e5562eb9176d7c2b4db05238248f76c989c8b9c6 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Thu, 19 Mar 2026 13:54:45 -0400 Subject: [PATCH] Use pre-compiled PyInstaller Historically we compiled PyInstaller ourselves as a custom compile seemed to trigger the "GAM is a virus!" issue less often. Now that we are signing GAM builds on Windows and Mac this should in theory be less of an issue and we can just use the pre-compiled PyInstaller from pip. --- .github/workflows/build.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a91db03d..ef8c7f3a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -547,18 +547,19 @@ jobs: - name: Install PyInstaller if: matrix.goal == 'build' run: | - git clone https://github.com/pyinstaller/pyinstaller.git - cd pyinstaller - export latest_release=$(git tag --list | grep -v dev | grep -v rc | sort -Vr | head -n1) - git checkout "${latest_release}" + #git clone https://github.com/pyinstaller/pyinstaller.git + #cd pyinstaller + #export latest_release=$(git tag --list | grep -v dev | grep -v rc | sort -Vr | head -n1) + #git checkout "${latest_release}" # git checkout "v6.9.0" # remove pre-compiled bootloaders so we fail if bootloader compile fails - rm -rvf PyInstaller/bootloader/*-*/* - cd bootloader - "${PYTHON}" ./waf all - cd .. - echo "---- Installing PyInstaller ----" - "${PYTHON}" -m pip install . + #rm -rvf PyInstaller/bootloader/*-*/* + #cd bootloader + #"${PYTHON}" ./waf all + #cd .. + #echo "---- Installing PyInstaller ----" + #"${PYTHON}" -m pip install . + "$PYTHON" -m pip install --upgrade pyinstaller - name: Build GAM with PyInstaller if: matrix.goal != 'test'