Firebot
Firebot copied to clipboard
[Feature Request] Implement deferral mechanism for updates
Implement the following stategy in regards to auto updates:
On start
If deferral flag is set to a prior feature version than what is currently running
- Clear deferral flag
If no updates
- Do nothing
Otherwise, If the latest update is a Hot-Fix update for the currently installed feature version
- Download update in background
- Apply update on restart
Otherwise, If the user has not had opportunity to defer updates for their currently installed feature version
Prompt user to update - The prompt will note that updating will be forced in 7 days
Update button is clicked
- Download & apply update in blocking fashion
Defer button is clicked
- Update button appears in UI
Otherwise, if the user has deferred updating for their currently installed feature version
If 7 days have not passed since deferral
- Add Update button to UI
Otherwise, if 7 days have passed since deferral
- Download update in background
- Notify user the update will be applied on restart
- Apply update on restart
Partially resolved in v5.59.0