Commits

Brian Curtin  committed b47a7c0

The ini file should not be pulled from the roaming appdata - it should be local.

  • Participants
  • Parent commits 817b9ab

Comments (0)

Files changed (1)

File CLILauncher/launcher.c

     debug(L"launcher executable: Console\n");
 #endif
 
-    hr = SHGetFolderPathW(NULL, CSIDL_APPDATA, NULL, 0, appdata_ini_path);
+    /* Get the local appdata folder (non-roaming) */
+    hr = SHGetFolderPathW(NULL, CSIDL_LOCAL_APPDATA,
+                          NULL, 0, appdata_ini_path);
     if (hr != S_OK) {
         debug(L"SHGetFolderPath failed: %X\n", hr);
         appdata_ini_path[0] = L'\0';