This commit is contained in:
lincube
2026-03-04 15:22:52 +08:00
parent 2ba66893ac
commit f78a56cb2c
198 changed files with 461 additions and 461 deletions

View File

@@ -0,0 +1,24 @@
using System.Collections.Generic;
using System.Linq;
namespace LanMountainDesktop.Models;
public sealed class StartMenuFolderNode
{
public StartMenuFolderNode(string name, string relativePath)
{
Name = name;
RelativePath = relativePath;
}
public string Name { get; }
public string RelativePath { get; }
public List<StartMenuFolderNode> Folders { get; } = [];
public List<StartMenuAppEntry> Apps { get; } = [];
public int TotalAppCount => Apps.Count + Folders.Sum(folder => folder.TotalAppCount);
}