将换行输入符号替换为Windows样式
This commit is contained in:
parent
29d8584548
commit
d3e85340b7
36
.github/workflows/build.yml
vendored
36
.github/workflows/build.yml
vendored
@ -40,11 +40,11 @@ jobs:
|
|||||||
# 使用pyinstaller构建
|
# 使用pyinstaller构建
|
||||||
- name: Build pypvz with pyinstaller
|
- name: Build pypvz with pyinstaller
|
||||||
run: |
|
run: |
|
||||||
pyinstaller -F main.py \
|
pyinstaller -F main.py `
|
||||||
-n pypvz-with-python${{ matrix.python_version }}-pyinstaller-x64.exe \
|
-n pypvz-with-python${{ matrix.python_version }}-pyinstaller-x64.exe `
|
||||||
--distpath ./out \
|
--distpath ./out `
|
||||||
--noconsole \
|
--noconsole `
|
||||||
--add-data="resources;./resources" \
|
--add-data="resources;./resources" `
|
||||||
-i ./pypvz.ico
|
-i ./pypvz.ico
|
||||||
|
|
||||||
- name: Release the version built by pyinstaller
|
- name: Release the version built by pyinstaller
|
||||||
@ -63,19 +63,19 @@ jobs:
|
|||||||
|
|
||||||
- name: Build pypvz with Nuitka
|
- name: Build pypvz with Nuitka
|
||||||
run: |
|
run: |
|
||||||
echo y | python -m nuitka --standalone \
|
echo y | python -m nuitka --standalone `
|
||||||
--onefile \
|
--onefile `
|
||||||
--show-progress \
|
--show-progress `
|
||||||
--show-memory \
|
--show-memory `
|
||||||
--output-dir=out \
|
--output-dir=out `
|
||||||
--windows-icon-from-ico=pypvz.ico \
|
--windows-icon-from-ico=pypvz.ico `
|
||||||
--include-data-dir=resources=resources \
|
--include-data-dir=resources=resources `
|
||||||
--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\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\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\libopusfile-0.dll=libopusfile-0.dll `
|
||||||
--include-data-file=c:\hostedtoolcache\windows\python\${{ matrix.python_version }}*\x64\lib\site-packages\pygame\libvorbisfile-3.dll=libvorbisfile-3.dll \
|
--include-data-file=c:\hostedtoolcache\windows\python\${{ matrix.python_version }}*\x64\lib\site-packages\pygame\libvorbisfile-3.dll=libvorbisfile-3.dll `
|
||||||
--include-data-file=c:\hostedtoolcache\windows\python\${{ matrix.python_version }}*\x64\lib\site-packages\pygame\libvorbis-0.dll=libvorbis-0.dll \
|
--include-data-file=c:\hostedtoolcache\windows\python\${{ matrix.python_version }}*\x64\lib\site-packages\pygame\libvorbis-0.dll=libvorbis-0.dll `
|
||||||
--windows-disable-console \
|
--windows-disable-console `
|
||||||
main.py
|
main.py
|
||||||
mv ./out/main.exe ./out/pypvz-with-python${{ matrix.python_version }}-nuitka-msvc-x64.exe
|
mv ./out/main.exe ./out/pypvz-with-python${{ matrix.python_version }}-nuitka-msvc-x64.exe
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user