Skip to content

Commit

Permalink
Disable multipart downloading in electron build (#91)
Browse files Browse the repository at this point in the history
And update cert download links
  • Loading branch information
jmrossy authored Mar 4, 2022
1 parent 2c269e5 commit 7a04544
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/bundle-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
DISABLE_MULTIPART_DOWNLOADING: true
5 changes: 3 additions & 2 deletions .github/workflows/publish-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
CSC_LINK: ${{ secrets.WINDOWS_CSC_LINK2 }}
CSC_KEY_PASSWORD: ${{ secrets.WINDOWS_CSC_KEY_PASSWORD }}
DISABLE_MULTIPART_DOWNLOADING: true

0 comments on commit 7a04544

Please sign in to comment.