UpdateManager class
class UpdateManager
Constructors
| Constructor | Summary |
|---|---|
UpdateManager |
UpdateManager(source, options, locator)
UpdateManager(source, options=None, locator=None)
Parameters
| Name | Description |
|---|---|
source | |
options | (default: None) |
locator | (default: None) |
Methods
apply_updates_and_exit(update)
apply_updates_and_exit(update)
Parameters
| Name | Description |
|---|---|
update |
apply_updates_and_restart(update)
apply_updates_and_restart(update)
Parameters
| Name | Description |
|---|---|
update |
apply_updates_and_restart_with_args(update, restart_args)
apply_updates_and_restart_with_args(update, restart_args)
Parameters
| Name | Description |
|---|---|
update | |
restart_args |
check_for_updates()
check_for_updates()
download_updates(update_info, progress_callback)
download_updates(update_info, progress_callback=None)
Parameters
| Name | Description |
|---|---|
update_info | |
progress_callback | (default: None) |
get_app_id()
get_app_id()
get_current_version()
get_current_version()
get_is_portable()
get_is_portable()
get_update_pending_restart()
get_update_pending_restart()
wait_exit_then_apply_updates(update, silent, restart, restart_args)
wait_exit_then_apply_updates(update, silent=False, restart=True, restart_args=None)
Parameters
| Name | Description |
|---|---|
update | |
silent | (default: False) |
restart | (default: True) |
restart_args | (default: None) |
Generated from velopack 1.1.1