From 15eae4f6062369ad7cd170e90987ecc5a21a4e25 Mon Sep 17 00:00:00 2001 From: deepend-tildeclub <58404188+deepend-tildeclub@users.noreply.github.com> Date: Sat, 14 Feb 2026 20:43:02 -0700 Subject: [PATCH] Refactor Python directory setup in Windows build --- .github/workflows/windows-build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 19e920d5..7250530f 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -200,7 +200,8 @@ jobs: - name: Build run: | call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" - set "PYTHON_DIR=C:\gtk-build\python-3.14.2\${{ matrix.platform }}" + set "PYTHON_ROOT=C:\gtk-build\python-3.14.2" + set "PYTHON_DIR=%PYTHON_ROOT%\${{ matrix.platform }}" if not exist "%PYTHON_DIR%\libs\python314.lib" ( echo Missing %PYTHON_DIR%\libs\python314.lib dir "%PYTHON_DIR%\libs" @@ -209,7 +210,8 @@ jobs: set "LIB=%PYTHON_DIR%\libs;%LIB%" set "INCLUDE=%PYTHON_DIR%\include;%INCLUDE%" - + set "ZOITECHAT_PYTHON3_PATH=%PYTHON_ROOT%" + msbuild win32\zoitechat.sln /m /verbosity:minimal /p:Configuration=Release /p:Platform=${{ matrix.platform }} set "BUILD_DIR=..\zoitechat-build\${{ matrix.platform }}"