From 94cefd04851ed245302a2daf26ffb2ff2334403a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Tue, 25 Jun 2024 17:53:01 +0800 Subject: [PATCH] back --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- build.py | 1 + plugins/CMakeLists.txt | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b57d4f9b..fc00ab8d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: - name: Install Python uses: actions/setup-python@v5 with: - python-version: '3.8.10' + python-version: '3.7.9' architecture: ${{ matrix.architecture }} - name: Install Python 3.11 @@ -36,7 +36,7 @@ jobs: - name: Run build script run: | - python build.py ${{ matrix.architecture }} 3.8.10 + python build.py ${{ matrix.architecture }} 3.7.9 - uses: actions/upload-artifact@v4 with: name: ${{ matrix.fname }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c9206a8a..c015b443 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: - name: Install Python uses: actions/setup-python@v5 with: - python-version: '3.8.10' + python-version: '3.7.9' architecture: ${{ matrix.architecture }} - name: Install Python 3.11 uses: actions/setup-python@v5 @@ -32,7 +32,7 @@ jobs: - name: Run build script run: | - python build.py ${{ matrix.architecture }} 3.8.10 + python build.py ${{ matrix.architecture }} 3.7.9 - uses: actions/upload-artifact@v4 with: name: ${{ matrix.fname }} diff --git a/build.py b/build.py index 1c83336e..2a49ff3a 100644 --- a/build.py +++ b/build.py @@ -290,4 +290,5 @@ if __name__ == "__main__": # 3.8之后会莫名其妙引用这个b东西,然后这个b东西会把一堆没用的东西导入进来 shutil.rmtree(os.path.join(os.path.dirname(py37Path), "Lib\\test")) shutil.rmtree(os.path.join(os.path.dirname(py37Path), "Lib\\unittest")) + # 放弃,3.8需要安装KB2533623才能运行,3.7用不着。 subprocess.run(f"{py37Path} retrieval.py") diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 47e6f503..c889945c 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -29,7 +29,7 @@ include(generate_product_version) set(VERSION_MAJOR 5) set(VERSION_MINOR 3) -set(VERSION_PATCH 1) +set(VERSION_PATCH 0) add_library(pch pch.cpp) target_precompile_headers(pch PUBLIC pch.h)