mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
[net] use http instead of https for downloads
* Since 2.17 will be the last version to support XP, and the native XP SSL implementation is too old to access our downloads though https.
This commit is contained in:
parent
9de244c10e
commit
8b094e840b
4 changed files with 10 additions and 10 deletions
|
@ -762,4 +762,4 @@ const char* gplv3 =
|
||||||
"Program, unless a warranty or assumption of liability accompanies a\r\n"
|
"Program, unless a warranty or assumption of liability accompanies a\r\n"
|
||||||
"copy of the Program in return for a fee.\r\n"
|
"copy of the Program in return for a fee.\r\n"
|
||||||
"\r\n"
|
"\r\n"
|
||||||
" END OF TERMS AND CONDITIONS";
|
" END OF TERMS AND CONDITIONS";
|
||||||
|
|
|
@ -404,7 +404,7 @@ static DWORD WINAPI CheckForUpdatesThread(LPVOID param)
|
||||||
{
|
{
|
||||||
BOOL releases_only, found_new_version = FALSE;
|
BOOL releases_only, found_new_version = FALSE;
|
||||||
int status = 0;
|
int status = 0;
|
||||||
const char* server_url = UPDATE_URL "/";
|
const char* server_url = RUFUS_NO_SSL_URL "/";
|
||||||
int i, j, k, max_channel, verbose = 0, verpos[4];
|
int i, j, k, max_channel, verbose = 0, verpos[4];
|
||||||
static const char* archname[] = {"win_x86", "win_x64"};
|
static const char* archname[] = {"win_x86", "win_x64"};
|
||||||
static const char* channel[] = {"release", "beta", "test"}; // release channel
|
static const char* channel[] = {"release", "beta", "test"}; // release channel
|
||||||
|
|
|
@ -73,9 +73,9 @@
|
||||||
#define DD_BUFFER_SIZE 65536 // Minimum size of the buffer we use for DD operations
|
#define DD_BUFFER_SIZE 65536 // Minimum size of the buffer we use for DD operations
|
||||||
#define UBUFFER_SIZE 2048
|
#define UBUFFER_SIZE 2048
|
||||||
#define RUFUS_URL "https://rufus.akeo.ie"
|
#define RUFUS_URL "https://rufus.akeo.ie"
|
||||||
#define UPDATE_URL "http://rufus.akeo.ie" // Stupid XP can't handle a recent SSL implementation...
|
#define RUFUS_NO_SSL_URL "http://rufus.akeo.ie" // Stupid XP can't handle a recent SSL implementation...
|
||||||
#define DOWNLOAD_URL RUFUS_URL "/downloads"
|
#define DOWNLOAD_URL RUFUS_NO_SSL_URL "/downloads"
|
||||||
#define FILES_URL RUFUS_URL "/files"
|
#define FILES_URL RUFUS_NO_SSL_URL "/files"
|
||||||
#define SEVENZIP_URL "http://www.7-zip.org"
|
#define SEVENZIP_URL "http://www.7-zip.org"
|
||||||
#define FILES_DIR "rufus_files"
|
#define FILES_DIR "rufus_files"
|
||||||
#define IGNORE_RETVAL(expr) do { (void)(expr); } while(0)
|
#define IGNORE_RETVAL(expr) do { (void)(expr); } while(0)
|
||||||
|
|
10
src/rufus.rc
10
src/rufus.rc
|
@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||||||
IDD_DIALOG DIALOGEX 12, 12, 242, 376
|
IDD_DIALOG DIALOGEX 12, 12, 242, 376
|
||||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||||
EXSTYLE WS_EX_ACCEPTFILES
|
EXSTYLE WS_EX_ACCEPTFILES
|
||||||
CAPTION "Rufus 2.17.1181"
|
CAPTION "Rufus 2.17.1182"
|
||||||
FONT 8, "Segoe UI Symbol", 400, 0, 0x0
|
FONT 8, "Segoe UI Symbol", 400, 0, 0x0
|
||||||
BEGIN
|
BEGIN
|
||||||
LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8
|
LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8
|
||||||
|
@ -366,8 +366,8 @@ END
|
||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 2,17,1181,0
|
FILEVERSION 2,17,1182,0
|
||||||
PRODUCTVERSION 2,17,1181,0
|
PRODUCTVERSION 2,17,1182,0
|
||||||
FILEFLAGSMASK 0x3fL
|
FILEFLAGSMASK 0x3fL
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
|
@ -384,13 +384,13 @@ BEGIN
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
|
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
|
||||||
VALUE "FileDescription", "Rufus"
|
VALUE "FileDescription", "Rufus"
|
||||||
VALUE "FileVersion", "2.17.1181"
|
VALUE "FileVersion", "2.17.1182"
|
||||||
VALUE "InternalName", "Rufus"
|
VALUE "InternalName", "Rufus"
|
||||||
VALUE "LegalCopyright", "© 2011-2017 Pete Batard (GPL v3)"
|
VALUE "LegalCopyright", "© 2011-2017 Pete Batard (GPL v3)"
|
||||||
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
|
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
|
||||||
VALUE "OriginalFilename", "rufus.exe"
|
VALUE "OriginalFilename", "rufus.exe"
|
||||||
VALUE "ProductName", "Rufus"
|
VALUE "ProductName", "Rufus"
|
||||||
VALUE "ProductVersion", "2.17.1181"
|
VALUE "ProductVersion", "2.17.1182"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
|
Loading…
Reference in a new issue