[RAPPS] Centralize RAPPS exposed names: registry & user local settings (#4214)

Centralize the names of the RAPPS' registry setting sub-key, and
user local settings & offline apps database sub-directories.

- Change the name of the application database sub-directory from
  "rapps\rapps" to "RApps\appdb".

- Adjust the documentation to reflect this.

- Simplify CConfigParser constructor by removing GetINIFullPath().
This commit is contained in:
Hermès Bélusca-Maïto 2021-12-29 01:05:00 +01:00
parent 30bc0b6b7a
commit fefc5f4823
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
9 changed files with 31 additions and 32 deletions

View file

@ -241,13 +241,13 @@ ParseCmdAndExecute(LPWSTR lpCmdLine, BOOL bIsFirstLaunch, int nCmdShow)
if (argc == 1) // RAPPS is launched without options
{
// Check for if rapps MainWindow is already launched in another process
// Check whether the RAPPS MainWindow is already launched in another process
HANDLE hMutex;
hMutex = CreateMutexW(NULL, FALSE, szWindowClass);
if ((!hMutex) || (GetLastError() == ERROR_ALREADY_EXISTS))
{
/* If already started, it is found its window */
/* If already started, find its window */
HWND hWindow = FindWindowW(szWindowClass, NULL);
/* Activate window */