From 6260f35b61373b903da315517a9700818879970e Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Mon, 31 Jul 2023 02:58:24 +0200 Subject: [PATCH] Update repo location --- Pal.Client/DependencyInjection/RepoVerification.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Pal.Client/DependencyInjection/RepoVerification.cs b/Pal.Client/DependencyInjection/RepoVerification.cs index 26cdd69..7fb551b 100644 --- a/Pal.Client/DependencyInjection/RepoVerification.cs +++ b/Pal.Client/DependencyInjection/RepoVerification.cs @@ -13,12 +13,10 @@ internal sealed class RepoVerification public RepoVerification(ILogger logger, DalamudPluginInterface pluginInterface, Chat chat) { logger.LogInformation("Install source: {Repo}", pluginInterface.SourceRepository); - if (!pluginInterface.IsDev - && !pluginInterface.SourceRepository.StartsWith("https://raw.githubusercontent.com/carvelli/") - && !pluginInterface.SourceRepository.StartsWith("https://github.com/carvelli/")) + if (!pluginInterface.IsDev && pluginInterface.SourceRepository.TrimEnd('/') != "https://plugins.carvel.li") { chat.Error(string.Format(Localization.Error_WrongRepository, - "https://github.com/carvelli/Dalamud-Plugins")); + "https://plugins.carvel.li")); throw new RepoVerificationFailedException(); } }