mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 11:37:01 +00:00
增加功能:设置只有管理员才可以设置
This commit is contained in:
@@ -59,6 +59,7 @@ namespace CMLeonOS
|
||||
envManager = EnvironmentVariableManager.Instance;
|
||||
|
||||
Commands.AliasCommand.LoadAliases();
|
||||
Commands.SettingsCommand.SetUserSystem(userSystem);
|
||||
|
||||
User currentUser = userSystem.CurrentLoggedInUser;
|
||||
if (currentUser != null && !string.IsNullOrWhiteSpace(currentUser.Username))
|
||||
|
||||
Reference in New Issue
Block a user