Correct plugin names we distribute outselves

This commit is contained in:
Łukasz Domeradzki
2024-03-26 01:15:17 +01:00
parent bbad80ae0e
commit 53ec07a7f1
11 changed files with 27 additions and 27 deletions

View File

@@ -43,7 +43,7 @@ namespace ArchiSteamFarm.OfficialPlugins.MobileAuthenticator;
internal sealed class MobileAuthenticatorPlugin : OfficialPlugin, IBotCommand2, IBotSteamClient {
[JsonInclude]
[Required]
public override string Name => nameof(MobileAuthenticatorPlugin);
public override string Name => typeof(MobileAuthenticatorPlugin).Assembly.GetName().Name ?? throw new InvalidOperationException(nameof(Name));
[JsonInclude]
[Required]