vslavik / winsparkle

App update framework for Windows, inspired by Sparkle for macOS
http://winsparkle.org
Other
1.31k stars 267 forks source link

Support for hiding WinSparkle GUI when doing an automatic update #168

Open thdouk opened 6 years ago

thdouk commented 6 years ago

Hi @vslavik, Thank you for creating and maintaining this project, it is really useful. I am implementing a feature where the client wants to do all the updates silently, without any GUI interactions. I managed to do so by using ManualAutoInstallUpdateChecker, and created a patch in my fork where you can hide all the GUI windows through a new function: win_sparkle_set_hide_updater_windows(int hide).

I was wondering if you would be interested in such a functionality for the project, or similar (That is when performing an automatic update, hide completely the Winsparkle GUI and perform the installation). Glad to provide a PR if you like the idea :)

vslavik commented 6 years ago

I'm open to having support for totally silent updating — I can see the appeal.

But doing it by hiding windows (as opposed to not creating them in the first place) seems like a gross hack. So if you really mean that, I'd rather not. But would, again, welcome proper support for this.

P.S. Email (which is trivial to find, this using git and all) is better suited than issues to questions or discussions.

darkgnostic commented 6 years ago

Seconding this. It is pretty useful in closed systems, where no user interaction is needed/required.

vslavik commented 6 years ago

@darkgnostic Please don't spam with "me too" comments — you have an upvote button for that. As I said, I'll gladly merge a well-executed PR. Submitting one is a great way to "second this" if this is something you care about (my apps have visible UI, I don't need this and so am unlikely to work on this sort of thing myself).