mirror of
https://github.com/waynebian01/Shigure.git
synced 2026-09-03 07:15:24 +08:00
添加了版本号, 作者选项
This commit is contained in:
@@ -10,6 +10,9 @@ public sealed class ModuleDefinition
|
||||
{
|
||||
public string Id { get; set; } = string.Empty;
|
||||
public string Name { get; set; } = "新模块";
|
||||
public string Author { get; set; } = string.Empty;
|
||||
// 保存时写入当时的 Shigure 版本(AppInfo.Version)。
|
||||
public string Version { get; set; } = string.Empty;
|
||||
public bool Enabled { get; set; } = true;
|
||||
public ModuleMatch Match { get; set; } = new();
|
||||
public List<ModuleUnit> Units { get; set; } = new();
|
||||
@@ -26,6 +29,8 @@ public sealed class ModuleDefinition
|
||||
{
|
||||
Id = Id,
|
||||
Name = Name,
|
||||
Author = Author,
|
||||
Version = Version,
|
||||
Enabled = Enabled,
|
||||
FilePath = FilePath,
|
||||
Match = Match.Clone(),
|
||||
|
||||
Reference in New Issue
Block a user