#include <app_updates.hpp>
|
| bool | available = false |
| | This process can check for, and install, updates. False in plug-ins.
|
| bool | can_check_now = false |
| | A user-initiated check may start now (false while one is running).
|
| bool | automatic_checks = false |
| | Scheduled background checks are on.
|
| bool | automatic_install = false |
| | The backend may download AND install an update without asking.
|
| bool | stub = false |
| | The backend is a development stub that never contacts a feed.
|
| std::string | app_name |
| std::string | version |
| | User-facing version (CFBundleShortVersionString) and build (CFBundleVersion, the number the feed is compared against).
|
| std::string | build |
| std::int64_t | last_check_unix_seconds = 0 |
| | Unix seconds of the last completed check; 0 = never checked.
|
| std::string | releases_url |
| | Web page that lists releases (pulp_add_sparkle RELEASES_URL); may be empty.
|
| std::string | feed_host |
| | Host of the update feed, e.g. "github.com"; may be empty.
|
| AppUpdateInstaller | installer = AppUpdateInstaller::unknown |
◆ app_name
| std::string pulp::format::AppUpdateStatus::app_name |
◆ automatic_checks
| bool pulp::format::AppUpdateStatus::automatic_checks = false |
Scheduled background checks are on.
The user's choice, persisted by the backend (Sparkle keeps it in the app's user defaults).
◆ automatic_install
| bool pulp::format::AppUpdateStatus::automatic_install = false |
The backend may download AND install an update without asking.
◆ available
| bool pulp::format::AppUpdateStatus::available = false |
This process can check for, and install, updates. False in plug-ins.
◆ build
| std::string pulp::format::AppUpdateStatus::build |
◆ can_check_now
| bool pulp::format::AppUpdateStatus::can_check_now = false |
A user-initiated check may start now (false while one is running).
◆ feed_host
| std::string pulp::format::AppUpdateStatus::feed_host |
Host of the update feed, e.g. "github.com"; may be empty.
◆ installer
◆ last_check_unix_seconds
| std::int64_t pulp::format::AppUpdateStatus::last_check_unix_seconds = 0 |
Unix seconds of the last completed check; 0 = never checked.
◆ releases_url
| std::string pulp::format::AppUpdateStatus::releases_url |
Web page that lists releases (pulp_add_sparkle RELEASES_URL); may be empty.
◆ stub
| bool pulp::format::AppUpdateStatus::stub = false |
The backend is a development stub that never contacts a feed.
◆ version
| std::string pulp::format::AppUpdateStatus::version |
User-facing version (CFBundleShortVersionString) and build (CFBundleVersion, the number the feed is compared against).
The documentation for this struct was generated from the following file:
- /home/runner/work/pulp/pulp/core/format/include/pulp/format/app_updates.hpp