增加更多Lua功能

This commit is contained in:
2026-02-04 01:55:14 +08:00
parent 79853052ae
commit 5a07c7a133
3 changed files with 136 additions and 7 deletions

View File

@@ -253,6 +253,18 @@ namespace CMLeonOS
}
}
public bool CurrentUserIsAdmin
{
get
{
if (currentLoggedInUser != null)
{
return currentLoggedInUser.IsAdmin;
}
return false;
}
}
public void FirstTimeSetup()
{
Console.WriteLine("====================================");