Open Goro2030 opened 5 years ago
That is on the wishlist (self-update).
I was even thinking about that yesterday, but the fact that SSL is not always present does not help.
I will probably not make it check for updates automatically though, but offer a self-upgrade parameter (less intrusive).
I have a similar idea running on my pdfscale app, but there no-SSL is just a secondary flag and it defaults to SSL. I also have some extra stuff there for when sudo is needed, so it will not be the SAME anyways.
My idea HERE is to try and detect if SSL is available and then automatically switch to NO-SSL if needed (with a warning). There is always a risk when running without SSL because you can't be sure there is no man-in-the-middle attacks going on.
I will update here when I have the time to implement all that.
Cheers!
@tavinus , I saw that you're becoming more active lately. Any chance you would be able to work on this enhancement now?
Yeah... I am hoping to implement some stuff for opkg-upgrade and pdfscale.
Can't promise a deadline, but I will try to do a little every day.
At program initialization, it should check if there's a newer version of itself, and if so, offer the user to upgrade ( Using wget without ssl if available )