If used, then the appcast mustĪlso contain the “shortVersionString” attribute with human-readable display To OS X Sparkle’s CFBundleVersion handling. Versions it is compared to the “version” attribute in the appcast and corresponds If this function is called, then the provided build number is used for comparing It can be used for finer granularity that official release versions, e.g. This is the internal version number that is not normally shown to the user. win_sparkle_set_app_build_version ( build_number ) ¶ If an update is available, the respective UI is shown later from a separate ![]() This call doesn’t block and returns almost immediately. Is initialized and shows its main window. You should only call this function when your app If WinSparkle is configured to check for updates on startup, proceeds ![]() win_sparkle_get_update_check_interval ( ) ¶ĭefault value is -1, indicating that the update check has never run. win_sparkle_get_last_check_time ( ) ¶ĭefault value is -1, indicating that the update check has never run. Pending Sparkle operations and shuts down its helper threads. Should be called by the app when it’s shutting down. Use with caution, it usually makes more sense to use the automatic updateĬhecks on interval option or manual check with visible UI. If an update isĪvailable, the usual “update available” window is shown this function No progress UI is shown to the user when checking. win_sparkle_check_update_without_ui ( ) ¶ Win_sparkle_set_update_cancelled_callback(). May wish to use win_sparkle_set_did_not_find_update_callback() and If your application expects to do something after checking for updates you Prompt will be skipped and the update will be installed immediately. Updates showing a progress UI to the user. ![]() This is useful for the case when users should almost always use the Immediately installing the update if one is available. win_sparkle_check_update_with_ui_and_install ( ) ¶Ĭhecks if an update is available, showing progress UI to the user and If there is an update, the usual “update available” Window is shown to let the user know the progress. When called, background thread is started to check for updates. If the application disables this behavior, itĬan hook this function to “Check for updates.” menu item. Normally, WinSparkle checks for updates on startup and only shows its UI win_sparkle_check_update_with_ui ( ) ¶Ĭhecks if an update is available, showing progress UI to the user. A wrapper for the WinSparkle project pywinsparkle.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |