diff --git a/Pal.Client/Pal.Client.csproj b/Pal.Client/Pal.Client.csproj
index e949dde..269f5ae 100644
--- a/Pal.Client/Pal.Client.csproj
+++ b/Pal.Client/Pal.Client.csproj
@@ -3,7 +3,7 @@
net6.0-windows
9.0
- 1.20
+ 1.21
enable
diff --git a/Pal.Client/Plugin.cs b/Pal.Client/Plugin.cs
index 29da3cf..b4a8111 100644
--- a/Pal.Client/Plugin.cs
+++ b/Pal.Client/Plugin.cs
@@ -5,6 +5,7 @@ using Dalamud.Game.Command;
using Dalamud.Game.Text;
using Dalamud.Game.Text.SeStringHandling;
using Dalamud.Interface.Windowing;
+using Dalamud.Logging;
using Dalamud.Plugin;
using ECommons;
using ECommons.Schedulers;
@@ -49,6 +50,7 @@ namespace Pal.Client
public PomanderState PomanderOfSight { get; set; } = PomanderState.Inactive;
public PomanderState PomanderOfIntuition { get; set; } = PomanderState.Inactive;
public string? DebugMessage { get; set; }
+ public bool IsUnsupported { get; set; }
public string Name => "Palace Pal";
@@ -61,6 +63,9 @@ namespace Pal.Client
Service.Configuration = (Configuration?)pluginInterface.GetPluginConfig() ?? pluginInterface.Create()!;
Service.Configuration.Migrate();
+ IsUnsupported = !pluginInterface.IsDev && !pluginInterface.SourceRepository.StartsWith("https://raw.githubusercontent.com/carvelli/");
+ PluginLog.Information($"Install source: {pluginInterface.SourceRepository}");
+
var agreementWindow = pluginInterface.Create();
if (agreementWindow is not null)
{
diff --git a/Pal.Client/Windows/ConfigWindow.cs b/Pal.Client/Windows/ConfigWindow.cs
index ed3b71f..6978961 100644
--- a/Pal.Client/Windows/ConfigWindow.cs
+++ b/Pal.Client/Windows/ConfigWindow.cs
@@ -36,7 +36,7 @@ namespace Pal.Client.Windows
public ConfigWindow() : base("Palace Pal###PalPalaceConfig")
{
var version = typeof(Plugin).Assembly.GetName().Version!.ToString(2);
- WindowName = $"Palace Pal v{version}###PalPalaceConfig";
+ WindowName = $"Palace Pal v{version}{(Service.Plugin.IsUnsupported ? " - Unsupported" : "")}###PalPalaceConfig";
Size = new Vector2(500, 400);
SizeCondition = ImGuiCond.FirstUseEver;
Position = new Vector2(300, 300);