Skip to content

fix: update electron-updater to patch to support window arm upgrade #5337

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

Merged
merged 1 commit into from
Apr 25, 2025

Conversation

beyondkmp
Copy link
Collaborator

@beyondkmp beyondkmp commented Apr 25, 2025

What this PR does

Before this PR:

windows arm只能手动下载升级

After this PR:
可以自动下载升级,并且升级到arm版本。

上游PR: electron-userland/electron-builder#9059

Fixes #5339

Why we need it and why it was done in this way

现在windows arm不支持自动升级,都要用户自己下载并点击安装升级,非常麻烦。

Breaking changes

If this PR introduces breaking changes, please describe the changes and the impact on users.

Special notes for your reviewer

需要测试下macOS/window x64的升级不受影响。

Checklist

This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

Release note

支持windows arm自动升级

@DeJeune DeJeune requested a review from kangfenmao April 25, 2025 07:12
@beyondkmp
Copy link
Collaborator Author

beyondkmp commented Apr 25, 2025

windows x64的测试结果:
image

windows arm64的测试结果:
image

mac的测试结果:
image

@kangfenmao
Copy link
Collaborator

干的漂亮啊,困扰了一段时间了

@kangfenmao
Copy link
Collaborator

这个我明天测试:macOS/window x64的升级不受影响

@kangfenmao kangfenmao merged commit a546c26 into CherryHQ:main Apr 25, 2025
1 check passed
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.

[功能]: 支持windows-arm自动升级
2 participants