Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Mar 17, 2024
1 parent 1d85292 commit 5723ee7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ArchiSteamFarm/Plugins/Interfaces/IGitHubPluginUpdates.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public interface IGitHubPluginUpdates : IPluginUpdates {
return null;
}

if (string.IsNullOrEmpty(RepositoryName)) {
if (string.IsNullOrEmpty(RepositoryName) || (RepositoryName == SharedInfo.DefaultPluginTemplateGithubRepo)) {
ASF.ArchiLogger.LogGenericError(string.Format(CultureInfo.CurrentCulture, Strings.WarningFailedWithError, nameof(RepositoryName)));

return null;
Expand Down
1 change: 1 addition & 0 deletions ArchiSteamFarm/SharedInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public static class SharedInfo {
internal const string AssemblyName = nameof(ArchiSteamFarm);
internal const string DatabaseExtension = ".db";
internal const string DebugDirectory = "debug";
internal const string DefaultPluginTemplateGithubRepo = "JustArchiNET/ASF-PluginTemplate";
internal const string EnvironmentVariableArguments = $"{ASF}_ARGS";
internal const string EnvironmentVariableCryptKey = $"{ASF}_CRYPTKEY";
internal const string EnvironmentVariableCryptKeyFile = $"{EnvironmentVariableCryptKey}_FILE";
Expand Down

0 comments on commit 5723ee7

Please sign in to comment.