p0358 / notepadpp-CodeStats

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

Add small built-in auto-updater #13

Closed p0358 closed 2 years 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 2 years 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.