[SETUPLIB] Default to "ReactOS (Debug)" boot entry on debug builds, instead of "ReactOS".

This commit is contained in:
Hermès Bélusca-Maïto 2021-09-07 22:25:34 +02:00
parent 4526848888
commit c188821f8b
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -126,21 +126,20 @@ CreateFreeLoaderReactOSEntries(
#endif
#if DBG
/* DefaultOS=ReactOS */
#if DBG && !defined(_WINKD_)
if (IsUnattendedSetup)
{
/* DefaultOS=ReactOS */
#ifndef _WINKD_
BootOptions.CurrentBootEntryKey = MAKESTRKEY(L"ReactOS_KdSerial");
#else
BootOptions.CurrentBootEntryKey = MAKESTRKEY(L"ReactOS_Debug");
#endif
}
else
#endif
{
/* DefaultOS=ReactOS */
#if DBG
BootOptions.CurrentBootEntryKey = MAKESTRKEY(L"ReactOS_Debug");
#else
BootOptions.CurrentBootEntryKey = MAKESTRKEY(L"ReactOS");
#endif
}
#if DBG