vslavik / winsparkle

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

How should "Remind me later" work? #247

Closed MennoVink closed 2 years ago

MennoVink commented 2 years ago

I'm kind of confused on how to get the win_sparkle_init call to show the update window.

  1. Make sure no settings are stored in the registry under WinSparkle Example App
  2. Run the example app_psdk (no update window first time as expected)
  3. Restart example
  4. You get Check automatically / Don't check, choose the first option
  5. Choose Remind me later
  6. Restart example

At this point, shouldn't i be getting the update window again since i chose to remind me later?

If i want to get the updater to show each run do i have to do something like this?

if( win_sparkle_get_automatic_check_for_updates() == 1 )
    win_sparkle_check_update_without_ui();
vslavik commented 2 years ago

Consistently with Sparkle, WinSparkle doesn't insistently harass the user, but reminds them later, not immediately after relaunch. You can see it for yourself under a debugger or by reading the code.