From efad254ac891a9d617582a82d205b4fd62ce7b95 Mon Sep 17 00:00:00 2001 From: RisaDev <151885272+RisaDev@users.noreply.github.com> Date: Thu, 21 Nov 2024 01:15:19 +0300 Subject: [PATCH] Disable branch service for now (#49) --- .../Core/Services/Dalamud/DalamudBranchService.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CustomizePlus/Core/Services/Dalamud/DalamudBranchService.cs b/CustomizePlus/Core/Services/Dalamud/DalamudBranchService.cs index 738b361..8c598de 100644 --- a/CustomizePlus/Core/Services/Dalamud/DalamudBranchService.cs +++ b/CustomizePlus/Core/Services/Dalamud/DalamudBranchService.cs @@ -27,7 +27,7 @@ public class DalamudBranchService : IService public bool AllowPluginToRun { get; private set; } = true; public DalamudBranchService(DalamudConfigService dalamudConfigService, Logger logger) - { + {/* dalamudConfigService.GetDalamudConfig(DalamudConfigService.BetaKindOption, out var betaOption); CurrentBranchName = betaOption?.ToLowerInvariant() ?? "release"; @@ -48,7 +48,10 @@ public class DalamudBranchService : IService AllowPluginToRun = CurrentBranch == DalamudBranch.Release; #endif - logger.Information($"Current Dalamud branch is: {CurrentBranchName} ({CurrentBranch}). Plugin allowed to run: {AllowPluginToRun}"); + logger.Information($"Current Dalamud branch is: {CurrentBranchName} ({CurrentBranch}). Plugin allowed to run: {AllowPluginToRun}");*/ + CurrentBranchName = "release"; + CurrentBranch = DalamudBranch.Release; + AllowPluginToRun = true; } public enum DalamudBranch