Skip to content

Commit

Permalink
Disable branch service for now (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
RisaDev committed Nov 20, 2024
1 parent a843dd1 commit efad254
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CustomizePlus/Core/Services/Dalamud/DalamudBranchService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class DalamudBranchService : IService
public bool AllowPluginToRun { get; private set; } = true;

public DalamudBranchService(DalamudConfigService dalamudConfigService, Logger logger)
{
{/*
dalamudConfigService.GetDalamudConfig<string>(DalamudConfigService.BetaKindOption, out var betaOption);
CurrentBranchName = betaOption?.ToLowerInvariant() ?? "release";
Expand All @@ -48,7 +48,10 @@ public DalamudBranchService(DalamudConfigService dalamudConfigService, Logger lo
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
Expand Down

0 comments on commit efad254

Please sign in to comment.