Skip to content

Commit

Permalink
feat(InternalPlugin): Update internal plugin manifest
Browse files Browse the repository at this point in the history
- Updated the `InternalPlugin` class in `YumeChan.Core.Modules.InternalPlugin.cs`
- Added properties for version, description, author, author contact, project homepage, source code repository, and icon URI
- Modified the `Loaded` property to check if the core state is online
- Updated the subproject commit in `YumeChan.PluginBase`

This commit updates the internal plugin manifest by adding new properties and modifying existing ones. It also updates the subproject commit in `YumeChan.PluginBase`.
  • Loading branch information
SakuraIsayeki committed Jul 16, 2023
1 parent c43501d commit d68fe27
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions src/YumeChan.Core/Modules/InternalPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@ public sealed class InternalPlugin : IPlugin
{
public string AssemblyName { get; } = typeof(YumeCore).Assembly.GetName().Name!;
public string DisplayName => "YumeCore Internals";

public string Version => YumeCore.CoreVersion;
public string Description => "Internal Plugin for YumeChan Core";
public string Author => "YumeChan DT (Nodsoft Systems)";
public string AuthorContact => "[email protected]";
public Uri? ProjectHomepage { get; } = new("https://yumechan.app");
public Uri? SourceCodeRepository { get; } = new("https://github.com/YumeChan-DT/YumeChan");

public bool Loaded => YumeCore.Instance.CoreState is YumeCoreState.Online;
public Uri? IconUri { get; set; }
public bool ShouldUseNetRunner => false;
public bool StealthMode => false;

public string Version => YumeCore.CoreVersion;

public Task LoadAsync() => Task.CompletedTask;
public Task UnloadAsync() => Task.CompletedTask;
}
2 changes: 1 addition & 1 deletion src/YumeChan.PluginBase

0 comments on commit d68fe27

Please sign in to comment.