ubopod / ubo_app

This repo contains code for Ubo system app to control Raspberry Pi utilities and Ubo based functionalities
6 stars 2 forks source link

Remove "Update Code CLI" option when cli is already downloaded #117

Closed sassanh closed 3 months ago

sassanh commented 4 months ago

The purpose of this option was to let the user update their CLI binary, but since there is no official way to check for new versions, we always show this and it may confuse the user, as they may think the presence of this option indicates there is actually an update while they may already have the latest version. On the other hand VSCode already informs user of their CLI binary is out dated and needs to be updated and lets the user do the update remotely. So we can completely remove this option.

sassanh commented 3 months ago

@mehrdadfeller I decided to keep it and just rename it to "Redownload Code", because it may happen that the download is incomplete or for whatever reason the user needs to re-download the binary. The main issue here was the misleading name of the button which would cause the user to think there is a pending update, I think the new name avoids this misunderstanding while keeping the function.