改壁纸+exportbackground命令+似乎修复但没完全修复一些bug

This commit is contained in:
2026-03-08 22:18:50 +08:00
parent 2138a4b392
commit 80413769f0
9 changed files with 67 additions and 15 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"
"unalias", "base64", "testgui", "ps", "kill", "hex", "exportbackground"
};
}
@@ -1694,6 +1694,11 @@ namespace CMLeonOS
Commands.AliasCommand.RemoveAlias(name);
}
public void ProcessExportBackground(string args)
{
Commands.ExportBackgroundCommand.ExportBackground(args);
}
public void SetDnsServer(string args)
{
if (string.IsNullOrWhiteSpace(args))