I would like to know if an update was attempted or completed successfully. Basically, need to know the difference between not needing to update (err = nil), and an update successfully occurring (err = nil). From this I can alert the user that an update is ready and they should restart their application.
I'm currently returning a boolean to indicate whether or not we attempted to update. Then the error determines if it was successful or failed. I'm showing 'true' when we attempt to update because we may want to, in the future, allow the 'wantUpdate' to be bypassed.
I would like to know if an update was attempted or completed successfully. Basically, need to know the difference between not needing to update (err = nil), and an update successfully occurring (err = nil). From this I can alert the user that an update is ready and they should restart their application.
I'm currently returning a boolean to indicate whether or not we attempted to update. Then the error determines if it was successful or failed. I'm showing 'true' when we attempt to update because we may want to, in the future, allow the 'wantUpdate' to be bypassed.