Skip to content

Add autoupdater for seamless version updates #29

@BunsDev

Description

@BunsDev

Summary

OKCode should include an autoupdater so users automatically receive the latest version without manual intervention.

Motivation

Currently, users must manually check for and install new versions. An autoupdater would:

  • Ensure users always have the latest features and bug fixes
  • Reduce friction for staying up to date
  • Improve the overall user experience

Proposed Approach

  • Detect when a new version is available (e.g., by checking GitHub releases or a version endpoint)
  • Notify the user that an update is available
  • Download and apply the update automatically (or with user confirmation)
  • Support rollback in case of a failed update

Considerations

  • Platform support: Ensure the updater works across all supported platforms
  • User control: Allow users to opt out or configure update frequency
  • Security: Verify update integrity (e.g., checksums, code signing)
  • Electron integration: If using Electron, consider leveraging electron-updater / autoUpdater

Labels

enhancement

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions