Skip to content

Commit

Permalink
修复了GitHub Actions自动构建的Windows平台MCSL2无法正常启动的问题。
Browse files Browse the repository at this point in the history
  • Loading branch information
LxHTT committed Mar 26, 2023
1 parent a83f0a2 commit 9bcfbaf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,20 +76,19 @@ jobs:
if: runner.os == 'Windows'
run: >
python -m nuitka
--mingw64
--standalone
--enable-plugin=pyqt5
--onefile
--output-dir=build
--assume-yes-for-downloads
--disable-console
--msvc=latest
--clang
--windows-disable-console
--windows-icon-from-ico=pack.ico
--windows-company-name="LxHTT"
--windows-product-name=MCSL2
--windows-file-version=2.0.0
--windows-file-version=2.0.0
--windows-product-version=2.0.0
--windows-file-description="A Minecraft Server Launcher"
--windows-file-description="MCSL2"
MCSL2.py
- name: Upload Artifacts
Expand Down
3 changes: 2 additions & 1 deletion pack.bat
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
nuitka --mingw64 --standalone --show-progress --show-memory --windows-disable-console --enable-plugin=pyqt5 --windows-icon-from-ico=pack.ico --windows-company-name="LxHTT" --windows-product-name=MCSL2 --windows-file-version=2.0.0 --windows-product-version=2.0.0 --windows-file-description="A Minecraft Server Launcher" --onefile --output-dir=PackagedProcess MCSL2.py
nuitka --mingw64 --standalone --enable-plugin=pyqt5 --windows-icon-from-ico=pack.ico --windows-company-name="LxHTT" --windows-product-name=MCSL2 --assume-yes-for-downloads --windows-file-version=2.0.0 --windows-product-version=2.0.0 --windows-file-description="MCSL2" --onefile --output-dir=build MCSL2.py
pause

0 comments on commit 9bcfbaf

Please sign in to comment.