From 5937d32b872268ef3c243b595caf8157a7ede363 Mon Sep 17 00:00:00 2001 From: YourKalamity <63474858+YourKalamity@users.noreply.github.com> Date: Sat, 19 Dec 2020 11:44:18 +0000 Subject: [PATCH] More fixes for macOS builds --- .github/workflows/executables.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/executables.yml b/.github/workflows/executables.yml index e96b5c8..2f4649d 100644 --- a/.github/workflows/executables.yml +++ b/.github/workflows/executables.yml @@ -31,12 +31,12 @@ jobs: run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} - name: Make binary run: | - pyinstaller --onefile --add-data "certifi;certifi" --add-data "requests;requests" --add-data "urllib3;urllib3" --add-data "lazy.ico;." --add-data "chardet;chardet" --icon "lazy.ico" --console --name "lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}" main.py + pyinstaller --onefile --add-data "certifi;certifi" --add-data "requests;requests" --add-data "urllib3;urllib3" --add-data "lazy.ico;." --add-data "chardet;chardet" --icon "lazy.ico" --console --name "lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-Windows" main.py cd dist - name: Publish builds uses: actions/upload-artifact@v2 with: - path: dist/lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}.exe + path: dist/lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-Windows.exe name: windows python: @@ -82,7 +82,7 @@ jobs: run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} - name: Create executable run: | - pyinstaller --onefile --add-data "tkmacosx;tkmacosx" --add-data "Darwin;Darwin" --add-data "certifi;certifi" --add-data "requests;requests" --add-data "urllib3;urllib3" --add-data "lazy.ico;." --add-data "chardet;chardet" --icon "lazy.ico" --console --name "lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-macOS" main.py + pyinstaller --onefile --add-data "tkmacosx:tkmacosx" --add-data "Darwin:Darwin" --add-data "certifi:certifi" --add-data "requests:requests" --add-data "urllib3:urllib3" --add-data "lazy.ico:." --add-data "chardet:chardet" --icon "lazy.ico" --console --name "lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-macOS" main.py cd dist chmod +x lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-macOS zip ../lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-macOS.zip lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-macOS