[RAPPS] Update rapps DB location to the new database

This commit is contained in:
Mark Jansen 2020-09-20 22:12:19 +02:00
parent 26da451ba5
commit d564b4afc3
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
3 changed files with 4 additions and 3 deletions

View file

@ -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