From 4a4b22dfba9007afb444b79ae33df65dcca26bb0 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Fri, 28 Oct 2022 08:30:26 -0400 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c98991a..aea61adc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -440,6 +440,10 @@ jobs: mkdir -p -v "${gampath}" if [[ "${RUNNER_OS}" == "macOS" ]]; then export gampath=$($PYTHON -c "import os; print(os.path.realpath('$gampath'))") + elif [[ "${RUNNER_OS}" == "Windows" ]]; then + # Work around issue where PyInstaller picks up python3.dll from other Python versions + # https://github.com/pyinstaller/pyinstaller/issues/7102 + export PATH="/usr/bin" else export gampath=$(realpath "${gampath}") fi