mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 03:19:56 +00:00
Settings - Brought the with and margins of different tabs in line with eachother
Settings - Tweaked card title font size and spacing Plugins - Show extra information on plugins in their config dialog Plugins - Added the ability to provide a license in plugin.json
This commit is contained in:
1 parent
a76ecec97d
commit
c86dba30fc
15 files changed
+146
-73
No files matched your search
@@ -29,6 +29,8 @@ public class PluginInfo : CorePropertyChanged, IPrerequisitesSubject
|
||||
private Uri? _website;
|
||||
private Uri? _helpPage;
|
||||
private bool _hotReloadSupported;
|
||||
private Uri? _license;
|
||||
private string? _licenseName;
|
||||
|
||||
internal PluginInfo()
|
||||
{
|
||||
@@ -103,6 +105,26 @@ public class PluginInfo : CorePropertyChanged, IPrerequisitesSubject
|
||||
get => _helpPage;
|
||||
set => SetAndNotify(ref _helpPage, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the help page of this plugin
|
||||
/// </summary>
|
||||
[JsonProperty]
|
||||
public Uri? License
|
||||
{
|
||||
get => _license;
|
||||
set => SetAndNotify(ref _license, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the author of this plugin
|
||||
/// </summary>
|
||||
[JsonProperty]
|
||||
public string? LicenseName
|
||||
{
|
||||
get => _licenseName;
|
||||
set => SetAndNotify(ref _licenseName, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The plugins display icon that's shown in the settings see <see href="https://materialdesignicons.com" /> for
|
||||
|
||||
Reference in new issue
Block a user