p0358 / notepadpp-CodeStats

Notepad++ plugin for Code::Stats (https://codestats.net)
Other
38 stars 21 forks source link

Add small built-in auto-updater #13

Closed p0358 closed 1 year ago

p0358 commented 5 years ago

Since Notepad++ now hardcodes plugin list, it is not possible to push update to Plugin Admin without waiting for the next Notepad++ release.

Planned functionality:

Thoughts on this are welcome.

Basically it will be pretty similiar to WinGUP functionality, but differences are that it will rename running executable, and verify update using RSA signature and not just a checksum, so no forged updates will be accepted. (however Notepad++ is not really less secure here, since its list is in signed DLL that's verified before being loaded as well)

p0358 commented 1 year ago

Over-engineering, idea abandoned. Plugins implementing independent update systems is not a good idea in the long run. In any case the unfinished updater code lays in the updater branch.