Drifty icon indicating copy to clipboard operation
Drifty copied to clipboard

feat: Added feature to perform in-place update of Drifty

Open SaptarshiSarkar12 opened this issue 7 months ago • 2 comments

Fixes issue

Fixes #217

Changes proposed

  • Added a package to check for available update
  • Added in-place update methods for both CLI and GUI
  • Added a settings option to choose if the user wants to receive Early Access updates (Alpha, Beta, RC) along with Stable versions

Tested Working in/for

  • [ ] Drifty CLI / Windows
  • [ ] Drifty GUI (exe) / Windows
  • [ ] Drifty GUI (msi) / Windows (requires Administrative Privileges)
  • [x] Drifty CLI / Linux
  • [x] Drifty GUI / Linux
  • [ ] Drifty CLI / MacOS
  • [ ] Drifty GUI / MacOS (PKG installer is opened up for the user to install the latest version)

[!NOTE] For Windows, the .old executable remains after update completes. Once the new executable (starting from version 2.1.0) is run, it deletes that old file during initialisation.

Check List (Check all the applicable boxes)

  • [X] My code follows the code style of this project.
  • [ ] My change requires changes to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [X] This PR does not contain plagiarized content.
  • [X] The title of my pull request is a short description of the requested changes.

Screenshots

Drifty GUI (Linux) updating.webm

Drifty CLI (Linux) Updating.webm

SaptarshiSarkar12 avatar Jul 06 '24 05:07 SaptarshiSarkar12