OSDN Git Service

Updated Web Updater binary. Now takes an additional "Checksum" argument.
authorLoRd_MuldeR <mulder2@gmx.de>
Sun, 16 Aug 2015 14:25:02 +0000 (16:25 +0200)
committerLoRd_MuldeR <mulder2@gmx.de>
Sun, 16 Aug 2015 14:25:02 +0000 (16:25 +0200)
res/tools/wupdate.exe
src/Config.h
src/Dialog_Update.cpp
src/Tools.h

index 47b4a19..4d21ed4 100644 (file)
Binary files a/res/tools/wupdate.exe and b/res/tools/wupdate.exe differ
index 971c7bf..70c31ee 100644 (file)
@@ -35,7 +35,7 @@
 #define VER_LAMEXP_MINOR_LO                                    2
 #define VER_LAMEXP_TYPE                                                Beta
 #define VER_LAMEXP_PATCH                                       3
-#define VER_LAMEXP_BUILD                                       1782
+#define VER_LAMEXP_BUILD                                       1781
 #define VER_LAMEXP_CONFG                                       1700
 
 ///////////////////////////////////////////////////////////////////////////////
index 8e1d972..6558cdb 100644 (file)
@@ -396,7 +396,8 @@ void UpdateDialog::applyUpdate(void)
                args << QString("/Location=%1").arg(updateInfo->getDownloadAddress());
                args << QString("/Filename=%1").arg(updateInfo->getDownloadFilename());
                args << QString("/TicketID=%1").arg(updateInfo->getDownloadFilecode());
-               args << QString("/ToFolder=%1").arg(QDir::toNativeSeparators(QDir(QApplication::applicationDirPath()).canonicalPath())); 
+               args << QString("/CheckSum=%1").arg(updateInfo->getDownloadChecksum());
+               args << QString("/ToFolder=%1").arg(QDir::toNativeSeparators(QDir(QApplication::applicationDirPath()).canonicalPath()));
                args << QString("/ToExFile=%1.exe").arg(QFileInfo(QFileInfo(QApplication::applicationFilePath()).canonicalFilePath()).completeBaseName());
                args << QString("/AppTitle=LameXP (Build #%1)").arg(QString::number(updateInfo->getBuildNo()));
 
index 4526759..1ca002f 100644 (file)
@@ -92,7 +92,7 @@ g_lamexp_tools[] =
        {"9e1ade2137ea5cee0ad4657971c314a372df3068594fbe4f77d45b9eb65fa7c69e55027b0df81b6fe072a220e9a8ba8a", CPU_TYPE_ALL_ALL, "valdec.exe", 100, "a"},
        {"509df39fdd7033b0f1af831304d0d6c08b74d5a48e2c038857a78b9dfaa4fb83c6b5c7ea202ba2270c0384607f2316ee", CPU_TYPE_ALL_ALL, "wget.exe", 1140, ""},
        {"572b9448bf4a338ecb9727951fdfcc5a219cc69896695cc96b9f6b083690e339910e41558968264a38992e45f2be152c", CPU_TYPE_ALL_ALL, "wma2wav.exe", 20111001, ""},
-       {"832b2be006c26f8b5300be0f2485dbfae4373e54f71d302870671a75a34b428b4e3feb387a2420042fb6286826d4fed7", CPU_TYPE_ALL_ALL, "wupdate.exe", 20150514, ""},
+       {"e395c342486de34b3b049ef5800c7590b1da4583e16df74a51cb79cdfcf3f606ce5819ba050f7841c75f05809fd59ef7", CPU_TYPE_ALL_ALL, "wupdate.exe", 20150816, ""},
        {"221efeabe47e9bf65404c4687df156b326b4fd244d910ef937213e6b0169a57350e897140a2e9965822d60aada609f79", CPU_TYPE_ALL_ALL, "wvunpack.exe", 4700, ""},
        {NULL, NULL, NULL, NULL, NULL}
 };