From 5f78d586397e5b0be4c8f8dddff3825efa6bc045 Mon Sep 17 00:00:00 2001 From: InfernumVII <126960693+InfernumVII@users.noreply.github.com> Date: Tue, 17 Mar 2026 13:11:56 +0300 Subject: [PATCH] Update build.yml to rename PyInstaller to TgWsProxy Replace occurrences of 'PyInstaller' with 'TgWsProxy' in pyi_utils.c during build process. --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d47880a..b494b60 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,6 +28,7 @@ jobs: $version = python -c "import PyInstaller; print(PyInstaller.__version__)" git clone --depth 1 --branch "v$version" https://github.com/pyinstaller/pyinstaller.git _pyinstaller_src cd _pyinstaller_src/bootloader + (Get-Content src\pyi_utils.c) -replace 'PyInstaller', 'TgWsProxy' | Set-Content src\pyi_utils.c python ./waf all --target-arch=64bit $dest = python -c "import PyInstaller; import os; print(os.path.join(os.path.dirname(PyInstaller.__file__), 'bootloader', 'Windows-64bit-intel'))" New-Item -ItemType Directory -Force -Path $dest @@ -63,6 +64,7 @@ jobs: git clone --depth 1 --branch "v$version" https://github.com/pyinstaller/pyinstaller.git _pyinstaller_src cd _pyinstaller_src/bootloader $env:CFLAGS = "-Wno-error=old-style-definition -std=c11" + (Get-Content src\pyi_utils.c) -replace 'PyInstaller', 'TgWsProxy' | Set-Content src\pyi_utils.c python ./waf all --target-arch=64bit $dest = python -c "import PyInstaller; import os; print(os.path.join(os.path.dirname(PyInstaller.__file__), 'bootloader', 'Windows-64bit-intel'))" New-Item -ItemType Directory -Force -Path $dest