feat.加入快捷方式组件

This commit is contained in:
lincube
2026-04-08 02:09:17 +08:00
parent d30af21317
commit e69bbf8b19
10 changed files with 688 additions and 3 deletions

View File

@@ -123,6 +123,25 @@ public sealed class ComponentSettingsSnapshot
#endregion
#region Shortcut Component Settings ()
/// <summary>
/// 快捷方式目标路径
/// </summary>
public string? ShortcutTargetPath { get; set; }
/// <summary>
/// 点击模式Single(单击打开) 或 Double(双击打开)
/// </summary>
public string ShortcutClickMode { get; set; } = "Double";
/// <summary>
/// 是否透明背景
/// </summary>
public bool ShortcutTransparentBackground { get; set; } = false;
#endregion
public ComponentSettingsSnapshot Clone()
{
var clone = (ComponentSettingsSnapshot)MemberwiseClone();