From 70ffd9489dbfddfa967a287b8883124710b57302 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=A4=96=E4=B9=8B=E7=A5=9E?= Date: Thu, 1 Jun 2023 09:59:48 +0800 Subject: [PATCH] Dev (#12) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 手动指定依赖文件 * ci * 手动修复dll包含 --- .github/workflows/build-pr.yml | 4 ++++ .github/workflows/build.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 1d2ac47..ca3c676 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -67,6 +67,10 @@ jobs: --show-memory ` --output-dir=out ` --windows-icon-from-ico=pypvz.ico ` + --include-data-file=c:\hostedtoolcache\windows\python\${{ matrix.python_version }}*\x64\lib\site-packages\pygame\libogg-0.dll=libogg-0.dll ` + --include-data-file=c:\hostedtoolcache\windows\python\${{ matrix.python_version }}*\x64\lib\site-packages\pygame\libopus-0.dll=libopus-0.dll ` + --include-data-file=c:\hostedtoolcache\windows\python\${{ matrix.python_version }}*\x64\lib\site-packages\pygame\libopusfile-0.dll=libopusfile-0.dll ` + --include-data-file=c:\hostedtoolcache\windows\python\${{ matrix.python_version }}*\x64\lib\site-packages\pygame\libjpeg-9.dll=libjpeg-9.dll ` --include-data-dir=resources=resources ` --windows-disable-console ` -o pypvz-with-python${{ matrix.python_version }}-nuitka-windows-x64.exe ` diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bca14d6..45a42ac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -69,6 +69,10 @@ jobs: --show-memory ` --output-dir=out ` --windows-icon-from-ico=pypvz.ico ` + --include-data-file=c:\hostedtoolcache\windows\python\${{ matrix.python_version }}*\x64\lib\site-packages\pygame\libogg-0.dll=libogg-0.dll ` + --include-data-file=c:\hostedtoolcache\windows\python\${{ matrix.python_version }}*\x64\lib\site-packages\pygame\libopus-0.dll=libopus-0.dll ` + --include-data-file=c:\hostedtoolcache\windows\python\${{ matrix.python_version }}*\x64\lib\site-packages\pygame\libopusfile-0.dll=libopusfile-0.dll ` + --include-data-file=c:\hostedtoolcache\windows\python\${{ matrix.python_version }}*\x64\lib\site-packages\pygame\libjpeg-9.dll=libjpeg-9.dll ` --include-data-dir=resources=resources ` --windows-disable-console ` -o pypvz-with-python${{ matrix.python_version }}-nuitka-windows-x64.exe `