mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-08 02:14:45 -04:00
[fido] download an LZMA compressed version of the script
* Since we have compression available through Bled we might as well use it * Also validate that the download URL comes from https://github.com/pbatard/Fido * Also prevent the check for update from running while we are downloading ISOs
This commit is contained in:
parent
7ad3b31be9
commit
4271e42b50
7 changed files with 112 additions and 20 deletions
|
@ -39,6 +39,9 @@ int64_t bled_uncompress_with_handles(HANDLE hSrc, HANDLE hDst, int type);
|
|||
/* Uncompress file 'src', compressed using 'type', to buffer 'buf' of size 'size' */
|
||||
int64_t bled_uncompress_to_buffer(const char* src, char* buf, size_t size, int type);
|
||||
|
||||
/* Uncompress buffer 'src' of length 'src_len' to buffer 'dst' of size 'dst_len' */
|
||||
int64_t bled_uncompress_from_buffer_to_buffer(const char* src, const size_t src_len, char* dst, size_t dst_len, int type);
|
||||
|
||||
/* Initialize the library.
|
||||
* When the parameters are not NULL you can:
|
||||
* - specify the printf-like function you want to use to output message
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue