Update repo logic
This commit is contained in:
parent
83944234ca
commit
36cb65d712
@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net6.0-windows</TargetFramework>
|
<TargetFramework>net6.0-windows</TargetFramework>
|
||||||
<LangVersion>9.0</LangVersion>
|
<LangVersion>9.0</LangVersion>
|
||||||
<Version>1.22</Version>
|
<Version>1.23</Version>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
@ -62,7 +62,9 @@ namespace Pal.Client
|
|||||||
// You're welcome to remove this code in your fork, as long as:
|
// You're welcome to remove this code in your fork, as long as:
|
||||||
// - none of the links accessible within FFXIV open the original repo (e.g. in the plugin installer), and
|
// - none of the links accessible within FFXIV open the original repo (e.g. in the plugin installer), and
|
||||||
// - you host your own server instance
|
// - you host your own server instance
|
||||||
if (!pluginInterface.IsDev && !pluginInterface.SourceRepository.StartsWith("https://raw.githubusercontent.com/carvelli/"))
|
if (!pluginInterface.IsDev
|
||||||
|
&& !pluginInterface.SourceRepository.StartsWith("https://raw.githubusercontent.com/carvelli/")
|
||||||
|
&& !pluginInterface.SourceRepository.StartsWith("https://github.com/carvelli/"))
|
||||||
{
|
{
|
||||||
chat.PrintError("[Palace Pal] Please install this plugin from the official repository at https://github.com/carvelli/Dalamud-Plugins to continue using it.");
|
chat.PrintError("[Palace Pal] Please install this plugin from the official repository at https://github.com/carvelli/Dalamud-Plugins to continue using it.");
|
||||||
throw new InvalidOperationException();
|
throw new InvalidOperationException();
|
||||||
|
Loading…
Reference in New Issue
Block a user