Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
feat: add the timeline folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Jan 20, 2023
1 parent e0c7a35 commit 7610fd8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions RotationSolver/RotationSolverPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
using RotationSolver.Windows;
using RotationSolver.Windows.RotationConfigWindow;
using System;
using System.IO;

namespace RotationSolver;

public sealed class RotationSolverPlugin : IDalamudPlugin, IDisposable
{
internal static string TimelineFolder { get; private set; }

private readonly WindowSystem windowSystem;

Expand All @@ -29,6 +31,9 @@ public RotationSolverPlugin(DalamudPluginInterface pluginInterface)
Service.Address = new PluginAddressResolver();
Service.Address.Setup();

TimelineFolder = Path.Combine(pluginInterface.ConfigDirectory.FullName, "Timeline");
if(!Directory.Exists(TimelineFolder)) Directory.CreateDirectory(TimelineFolder);

Service.IconReplacer = new IconReplacer();

_comboConfigWindow = new();
Expand Down
2 changes: 0 additions & 2 deletions RotationSolver/SigReplacers/IconReplacer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ namespace RotationSolver.SigReplacers;

internal sealed class IconReplacer : IDisposable
{
internal static string TimelineFolder => typeof(IconReplacer).Assembly.Location + "/ScriptRotation";


public record CustomRotationGroup(ClassJobID jobId, ClassJobID[] classJobIds, ICustomRotation[] rotations);

Expand Down

0 comments on commit 7610fd8

Please sign in to comment.