notepad-plus-plus / wingup

WinGup - Generic Updater for Windows
http://wingup.org/
GNU Lesser General Public License v3.0
47 stars 31 forks source link

Src enhance wingup #1

Closed SinghRajenM closed 6 years ago

SinghRajenM commented 6 years ago

This PR improves WinGUP in below fashion –

  1. Provide an option to pass commandline parameter for installer (includes both normal or silent mode paramters)
  2. Provide an option to update app in background. a. If app is opened, then it will for app to exit. b. App installer must support silent installation and silent mode parameter should be added to configuration file. (e.g. /S flag which is default if flag is missing in configuration). c. Default silent mode (flag /S) will be used if it is missing in configuration file.
  3. Provide a way to set icon (taskbar and app icon) via configuration file. As of now, it uses window default icon which makes it hard identify what kind of process it is.
  4. Provide a way to find Proxy dialog if it goes behind any app. As of now proxy dialog does not create any icon on taskbar. Therefore, it is hard to find the dialog once it is hidden behind some app.
  5. Provide taskbar icon to progress dialog and it’s messagebox dialog. Like point 2 and point 3.
  6. Fixes small glitch of curl. In very beginning curl returns garbage value to its CURLOPT_PROGRESSFUNCTION method which turns as showing invalid download percentage (e.g. 9223372036854775808%).
  7. Once downloading is completed, close the progress dialog as there is no need to keep it opened because either new messagebox to close the app or installer will appear based on classname is specified or not in the configuration.

image image

Comparison report

SinghRajenM commented 6 years ago

Created new one with different branch specially for notepad's winGup.