Skip to content

Commit

Permalink
修复打包bug
Browse files Browse the repository at this point in the history
  • Loading branch information
molihuan committed Mar 15, 2024
1 parent c5551e7 commit 9a20be8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/release_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ jobs:
with:
python-version: 3.10.8


- name: libEGL.so.1
run: |
apt-get update && apt-get install libgl1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -29,7 +35,7 @@ jobs:
- uses: actions/[email protected]
with:
# Artifact name
name: release-windows.zip
name: ubuntu-release.zip
# 导出文件夹
path: script/dist/
# The desired behavior if no files are found using the provided path.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/[email protected]
with:
# Artifact name
name: release-windows.zip
name: macos-release.zip
# 导出文件夹
path: script/dist/
# The desired behavior if no files are found using the provided path.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/[email protected]
with:
# Artifact name
name: release-windows.zip
name: windows-release.zip
# 导出文件夹
path: script/dist/
# The desired behavior if no files are found using the provided path.
Expand Down
3 changes: 1 addition & 2 deletions script/packagescript.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ def copyReadme(source_path, target_path):
if os.path.exists(outputDir):
# 删除输出目录
shutil.rmtree(outputDir)
print(
f"请选择打包方式:\n{PkgType.PYINSTALLER_PKG.value}.PyInstaller\n{PkgType.NUITKA.value}.Nuitka\n{PkgType.NON.value}.什么也不做\n请输入前面的序号:")
# print(f"请选择打包方式:\n{PkgType.PYINSTALLER_PKG.value}.PyInstaller\n{PkgType.NUITKA.value}.Nuitka\n{PkgType.NON.value}.什么也不做\n请输入前面的序号:")
# inType = int(input())
inType = 0
# sysType = SysType.MAC
Expand Down

0 comments on commit 9a20be8

Please sign in to comment.