From 86bb1e2b7b21bcfc017a87d8499ca16e9d33879b Mon Sep 17 00:00:00 2001 From: CookSleep <151028412+CookSleep@users.noreply.github.com> Date: Thu, 18 Jul 2024 21:46:08 +0800 Subject: [PATCH] Update macos-build.yml --- .github/workflows/macos-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos-build.yml b/.github/workflows/macos-build.yml index bd1bc2b..ef44d57 100644 --- a/.github/workflows/macos-build.yml +++ b/.github/workflows/macos-build.yml @@ -24,14 +24,14 @@ jobs: - name: Build macOS app run: | - pyinstaller --onefile project_exporter.py + pyinstaller project_exporter.spec echo "Contents of dist directory:" ls -R dist - name: Create ZIP archive run: | cd dist - zip -j "../Project_Exporter-macOS.zip" project_exporter + zip -r "../Project_Exporter-macOS.zip" "项目文件导出工具.app" cd .. echo "Contents of current directory:" ls -l