diff --git a/Penumbra/Services/ValidityChecker.cs b/Penumbra/Services/ValidityChecker.cs index 3f55750b..44df07e3 100644 --- a/Penumbra/Services/ValidityChecker.cs +++ b/Penumbra/Services/ValidityChecker.cs @@ -10,9 +10,10 @@ namespace Penumbra.Services; public class ValidityChecker { - public const string Repository = "https://raw.githubusercontent.com/xivdev/Penumbra/master/repo.json"; - public const string RepositoryLower = "https://raw.githubusercontent.com/xivdev/penumbra/master/repo.json"; - public const string TestRepositoryLower = "https://raw.githubusercontent.com/xivdev/penumbra/test/repo.json"; + public const string Repository = "https://raw.githubusercontent.com/xivdev/Penumbra/master/repo.json"; + public const string SeaOfStars = "https://raw.githubusercontent.com/Ottermandias/SeaOfStars/main/repo.json"; + public const string RepositoryLower = "https://raw.githubusercontent.com/xivdev/penumbra/master/repo.json"; + public const string SeaOfStarsLower = "https://raw.githubusercontent.com/ottermandias/seaofstars/main/repo.json"; public readonly bool DevPenumbraExists; public readonly bool IsNotInstalledPenumbra; @@ -82,11 +83,11 @@ private static bool CheckIsNotInstalled( DalamudPluginInterface pi ) private static bool CheckSourceRepo( DalamudPluginInterface pi ) { #if !DEBUG - return pi.SourceRepository.Trim().ToLowerInvariant() switch + return pi.SourceRepository?.Trim().ToLowerInvariant() switch { null => false, RepositoryLower => true, - TestRepositoryLower => true, + SeaOfStarsLower => true, _ => false, }; #else diff --git a/Penumbra/UI/ConfigWindow.cs b/Penumbra/UI/ConfigWindow.cs index 8d22fe01..7f484518 100644 --- a/Penumbra/UI/ConfigWindow.cs +++ b/Penumbra/UI/ConfigWindow.cs @@ -88,7 +88,7 @@ public override void Draw() { DrawProblemWindow( $"You are loading a release version of Penumbra from the repository \"{_pluginInterface.SourceRepository}\" instead of the official repository.\n" - + $"Please use the official repository at {ValidityChecker.Repository}.\n\n" + + $"Please use the official repository at {ValidityChecker.Repository} or the suite repository at {ValidityChecker.SeaOfStars}.\n\n" + "If you are developing for Penumbra and see this, you should compile your version in debug mode to avoid it."); } else if (_validityChecker.IsNotInstalledPenumbra)