FFXIV plugin 2.6.2.0 support (#56)
This commit is contained in:
parent
bf6f5964e2
commit
375583e8ee
2 changed files with 4 additions and 3 deletions
|
@ -12,7 +12,7 @@ namespace DutyContent
|
||||||
{
|
{
|
||||||
class DcConfig
|
class DcConfig
|
||||||
{
|
{
|
||||||
public static int PluginTag => 19;
|
public static int PluginTag => 20;
|
||||||
public static Version PluginVersion => System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
|
public static Version PluginVersion => System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
|
||||||
|
|
||||||
public static bool PluginEnable { get; set; }
|
public static bool PluginEnable { get; set; }
|
||||||
|
|
|
@ -99,8 +99,9 @@ namespace DutyContent
|
||||||
if (_ffxiv_plugin_data == null)
|
if (_ffxiv_plugin_data == null)
|
||||||
{
|
{
|
||||||
_ffxiv_plugin_data = ActGlobals.oFormActMain.ActPlugins.Where(x =>
|
_ffxiv_plugin_data = ActGlobals.oFormActMain.ActPlugins.Where(x =>
|
||||||
x.pluginFile.Name.ToUpper().Contains("FFXIV_ACT_PLUGIN") &&
|
x.pluginFile.Name.ToUpper().StartsWith("FFXIV_ACT_PLUGIN") &&
|
||||||
x.lblPluginStatus.Text.ToUpper().Contains("FFXIV PLUGIN STARTED."))
|
(x.lblPluginStatus.Text.ToUpper().StartsWith("FFXIV PLUGIN STARTED.") ||
|
||||||
|
x.lblPluginStatus.Text.ToUpper().StartsWith("FFXIV_ACT_PLUGIN STARTED.")))
|
||||||
.Select(x => x)
|
.Select(x => x)
|
||||||
.FirstOrDefault();
|
.FirstOrDefault();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue