mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 15:30:27 +00:00
增加更多Lua功能
This commit is contained in:
@@ -253,6 +253,18 @@ namespace CMLeonOS
|
||||
}
|
||||
}
|
||||
|
||||
public bool CurrentUserIsAdmin
|
||||
{
|
||||
get
|
||||
{
|
||||
if (currentLoggedInUser != null)
|
||||
{
|
||||
return currentLoggedInUser.IsAdmin;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public void FirstTimeSetup()
|
||||
{
|
||||
Console.WriteLine("====================================");
|
||||
|
||||
Reference in New Issue
Block a user