增加些功能

This commit is contained in:
2026-03-14 03:31:53 +08:00
parent b507c5701a
commit b3fff31b28
42 changed files with 2777 additions and 1247 deletions

View File

@@ -425,7 +425,7 @@ namespace CMLeonOS
"cpass", "hostname", "ipconfig", "setdns", "setgateway", "nslookup",
"ping", "wget", "ftp", "tcpserver", "tcpclient", "lua", "lua2cla", "cla",
"branswe", "beep", "env", "whoami", "uptime", "alias",
"unalias", "base64", "testgui", "ps", "kill", "hex", "exportbackground"
"unalias", "base64", "testgui", "ps", "kill", "hex", "exportbackground", "logs"
};
}
@@ -1699,6 +1699,11 @@ namespace CMLeonOS
Commands.ExportBackgroundCommand.ExportBackground(args);
}
public void ProcessLogs(string args)
{
Commands.LogsCommand.ShowLogs();
}
public void SetDnsServer(string args)
{
if (string.IsNullOrWhiteSpace(args))