mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[RAPPS] Update rapps DB location to the new database
This commit is contained in:
parent
26da451ba5
commit
d564b4afc3
3 changed files with 4 additions and 3 deletions
|
@ -308,7 +308,7 @@ AvailableStrings::AvailableStrings()
|
|||
PathAppendW(szAppsPath.GetBuffer(MAX_PATH), L"rapps");
|
||||
szAppsPath.ReleaseBuffer();
|
||||
|
||||
szCabName = L"rappmgr.cab";
|
||||
szCabName = APPLICATION_DATABASE_NAME;
|
||||
szCabDir = szPath;
|
||||
szCabPath = szCabDir;
|
||||
PathAppendW(szCabPath.GetBuffer(MAX_PATH), szCabName);
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
#include "resource.h"
|
||||
#include "winmain.h"
|
||||
|
||||
#define APPLICATION_DATABASE_URL L"https://rapps.reactos.org/rappmgr.cab"
|
||||
#define APPLICATION_DATABASE_URL L"https://rapps.reactos.org/rappmgr2.cab"
|
||||
#define APPLICATION_DATABASE_NAME L"rappmgr2.cab"
|
||||
#define MAX_STR_LEN 256
|
||||
|
||||
enum AppsCategories
|
||||
|
|
|
@ -658,7 +658,7 @@ unsigned int WINAPI CDownloadManager::ThreadFunc(LPVOID param)
|
|||
{
|
||||
case DLTYPE_DBUPDATE:
|
||||
case DLTYPE_DBUPDATE_UNOFFICIAL:
|
||||
PathAppendW(Path.GetBuffer(), L"rappmgr.cab"); // whatever the URL is, use the file name L"rappmgr.cab"
|
||||
PathAppendW(Path.GetBuffer(), APPLICATION_DATABASE_NAME);
|
||||
break;
|
||||
case DLTYPE_APPLICATION:
|
||||
PathAppendW(Path.GetBuffer(), (LPWSTR)(p + 1)); // use the filename retrieved from URL
|
||||
|
|
Loading…
Reference in a new issue