Skip to content

Conversation

@sweep-ai-deprecated
Copy link
Contributor

Description

This PR implements the auto-update feature in the Electron app. The electron-updater module is integrated into the project to handle the auto-update process. The app will now check for new releases on GitHub every time it is launched. If a new version is detected, the user will be prompted to install the update.

Summary of Changes

  • Added electron-updater module to handle auto-update process
  • Configured electron-updater to check for updates on app launch
  • Implemented prompt using Electron's native dialog module
  • Handled update download and installation process

Please review and merge this PR to enable the auto-update feature in the Electron app.

Fixes #9.


To checkout this PR branch, run the following command in your terminal:

git checkout sweep/auto-update

To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.

@sweep-ai-deprecated sweep-ai-deprecated bot added the sweep Assigns Sweep to an issue or pull request. label Aug 5, 2023
@slime7
Copy link
Owner

slime7 commented Aug 5, 2023

Sweep: 将提示和按钮文字改成中文

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sweep Assigns Sweep to an issue or pull request.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sweep: 为 app 加入自动更新

2 participants