Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use separate autoupdate feed url for Windows 32-bit build #495

Merged
merged 6 commits into from
Jul 1, 2021

Conversation

achou11
Copy link
Member

@achou11 achou11 commented Jun 30, 2021

Fixes #492

Notes:

  • Discussed with @gmaclennan offline about the approach and decided on the following:
    • if building for Windows 32-bit, point the publish + autoupdate target url to the /desktop-ia32 directory in S3 (or whatever we decide to call it)
    • pin electron-builder version to the most recent version that supports Node v12
  • Updates the electron-updater version to the one that was released with the builder version we're using
  • Updates the electron-publish patch to match the new version that's being used

.github/workflows/nodejs.yml Outdated Show resolved Hide resolved
@@ -71,7 +69,7 @@ jobs:
MAPEO_VARIANT: ${{ matrix.variant }}
- name: Cleanup artifacts
run: |
npx rimraf@2 'dist/${{ matrix.variant }}/!(*.exe|*.deb|*.AppImage|*.dmg)'
npx rimraf@2 'dist/${{ matrix.variant }}/!(*.exe|*.deb|*.AppImage|*.dmg|*.yml|github)'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We want to retain generated yaml files and github/ directory for debugging purposes

builder.config.js Outdated Show resolved Hide resolved
@@ -110,7 +110,7 @@
"electron-is-dev": "^1.1.0",
"electron-rabbit": "^1.0.3",
"electron-timber": "^0.5.1",
"electron-updater": "^4.2.2",
"electron-updater": "^4.3.9",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't sure if we should pin this but decided against doing so since I don't think it's strictly tied to the electron-builder version

Copy link
Member

@gmaclennan gmaclennan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. thanks for this Andrew!

.github/workflows/nodejs.yml Outdated Show resolved Hide resolved
builder.config.js Outdated Show resolved Hide resolved
@achou11 achou11 merged commit ec1a25a into master Jul 1, 2021
@achou11 achou11 deleted the ac/windows-autoupdate-2 branch July 1, 2021 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto-updater does not consistently work with Windows 64-bit and 32-bit builds
2 participants