From 7a04544cb878c750f1c2c0443f15f554c5c5564e Mon Sep 17 00:00:00 2001 From: J M Rossy Date: Fri, 4 Mar 2022 11:37:08 -0500 Subject: [PATCH] Disable multipart downloading in electron build (#91) And update cert download links --- .github/workflows/bundle-desktop.yml | 6 ++++-- .github/workflows/publish-mac.yml | 5 +++-- .github/workflows/publish-windows.yml | 5 +++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bundle-desktop.yml b/.github/workflows/bundle-desktop.yml index 2c626a68..cb06ce0b 100644 --- a/.github/workflows/bundle-desktop.yml +++ b/.github/workflows/bundle-desktop.yml @@ -44,15 +44,17 @@ jobs: # - name: Build on Mac # run: yarn electron-builder --mac --publish never # env: - # CSC_LINK: ${{ secrets.MAC_CSC_LINK }} + # CSC_LINK: ${{ secrets.MAC_CSC_LINK2 }} # CSC_KEY_PASSWORD: ${{ secrets.MAC_CSC_KEY_PASSWORD }} + # DISABLE_MULTIPART_DOWNLOADING: true # if: runner.os == 'macOS' - name: Build on Windows run: yarn electron-builder --win --publish never || yarn electron-builder --win --publish never env: - CSC_LINK: ${{ secrets.WINDOWS_CSC_LINK }} + CSC_LINK: ${{ secrets.WINDOWS_CSC_LINK2 }} CSC_KEY_PASSWORD: ${{ secrets.WINDOWS_CSC_KEY_PASSWORD }} + DISABLE_MULTIPART_DOWNLOADING: true if: runner.os == 'Windows' - name: Install deps for Linux diff --git a/.github/workflows/publish-mac.yml b/.github/workflows/publish-mac.yml index b578b7b9..2c3da956 100644 --- a/.github/workflows/publish-mac.yml +++ b/.github/workflows/publish-mac.yml @@ -26,7 +26,8 @@ jobs: run: yarn electron-builder --mac --publish always || yarn electron-builder --mac --publish always env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CSC_LINK: ${{ secrets.MAC_CSC_LINK }} + CSC_LINK: ${{ secrets.MAC_CSC_LINK2 }} CSC_KEY_PASSWORD: ${{ secrets.MAC_CSC_KEY_PASSWORD }} APPLE_ID: ${{ secrets.APPLE_ID }} - APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} \ No newline at end of file + APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} + DISABLE_MULTIPART_DOWNLOADING: true \ No newline at end of file diff --git a/.github/workflows/publish-windows.yml b/.github/workflows/publish-windows.yml index 261bdbee..ee30b076 100644 --- a/.github/workflows/publish-windows.yml +++ b/.github/workflows/publish-windows.yml @@ -26,5 +26,6 @@ jobs: run: yarn electron-builder --win --publish always || yarn electron-builder --win --publish always env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CSC_LINK: ${{ secrets.WINDOWS_CSC_LINK }} - CSC_KEY_PASSWORD: ${{ secrets.WINDOWS_CSC_KEY_PASSWORD }} \ No newline at end of file + CSC_LINK: ${{ secrets.WINDOWS_CSC_LINK2 }} + CSC_KEY_PASSWORD: ${{ secrets.WINDOWS_CSC_KEY_PASSWORD }} + DISABLE_MULTIPART_DOWNLOADING: true \ No newline at end of file