This commit is contained in:
lincube
2026-03-01 00:34:07 +08:00
parent 473a84e47b
commit f0e44c0f87
22 changed files with 3388 additions and 697 deletions

View File

@@ -0,0 +1,24 @@
using System.Collections.Generic;
using System.Linq;
namespace LanMontainDesktop.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);
}