尝试修复alias+增加SkipToGui设置+启用UEFI

This commit is contained in:
2026-03-15 15:49:07 +08:00
parent d076d53025
commit ffc4db82e7
12 changed files with 59 additions and 9 deletions

View File

@@ -113,6 +113,11 @@ namespace CMLeonOS
public static BootMenuAction Show()
{
if (Settings.SettingsManager.SkipToGui && UserDatExists())
{
return BootMenuAction.GuiBoot;
}
Console.BackgroundColor = ConsoleColor.Black;
Console.ForegroundColor = ConsoleColor.White;

View File

@@ -143,7 +143,7 @@ namespace CMLeonOS
if (Directory.Exists(fullPath))
{
string displayPath = path == "." ? CurrentDirectory : path;
Console.WriteLine($"Contents of {displayPath}:");
Console.WriteLine($"Contents of {fullPath}:");
try
{