mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-23 03:06:56 -04:00
[net] Check for application update (part 8)
* Closes #102 * Add beta channel check * Add version and min platform checks * Also fixes update settings not reflecting the registry
This commit is contained in:
parent
b315805fa4
commit
2d53ea10ac
7 changed files with 195 additions and 130 deletions
10
src/rufus.h
10
src/rufus.h
|
@ -176,11 +176,8 @@ typedef struct {
|
|||
} RUFUS_ISO_REPORT;
|
||||
|
||||
typedef struct {
|
||||
uint8_t version[4];
|
||||
char* type; // "release", "beta", "notice"
|
||||
char* platform; // target platform ("windows", "linux", etc.)
|
||||
char* platform_arch; // "x86", "x64", "arm"
|
||||
char* platform_min; // minimum platform version required
|
||||
uint16_t version[4];
|
||||
uint32_t platform_min[2]; // minimum platform version required
|
||||
char* download_url;
|
||||
char* release_notes;
|
||||
} RUFUS_UPDATE;
|
||||
|
@ -223,9 +220,10 @@ extern const int nb_steps[FS_MAX];
|
|||
extern BOOL use_own_vesamenu, detect_fakes, iso_op_in_progress, format_op_in_progress;
|
||||
extern RUFUS_ISO_REPORT iso_report;
|
||||
extern int64_t iso_blocking_status;
|
||||
extern int rufus_version[4];
|
||||
extern uint16_t rufus_version[4];
|
||||
extern enum WindowsVersion nWindowsVersion;
|
||||
extern RUFUS_UPDATE update;
|
||||
extern int dialog_showing;
|
||||
|
||||
/*
|
||||
* Shared prototypes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue