Skip to content

Commit

Permalink
updated for API9 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eisenhuth committed Oct 2, 2023
1 parent 81a1911 commit 9d774c4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
7 changes: 4 additions & 3 deletions logchamp/logchamp/LogchampPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using Dalamud.Game.Text.SeStringHandling;
using Dalamud.IoC;
using Dalamud.Plugin;
using Dalamud.Plugin.Services;
using ImGuiNET;

namespace logchamp;
Expand All @@ -20,16 +21,16 @@ public class LogchampPlugin : IDalamudPlugin
private static bool drawConfiguration;

private Configuration configuration;
private ChatGui chatGui;
private IChatGui chatGui;
private Configuration.Timeframe configTimeframe;
private string configLogsDirectory;
[PluginService] private static DalamudPluginInterface PluginInterface { get; set; } = null!;
[PluginService] private static CommandManager CommandManager { get; set; } = null!;
[PluginService] private static ICommandManager CommandManager { get; set; } = null!;

private bool cleanedOnStartup;


public LogchampPlugin([RequiredVersion("1.0")] DalamudPluginInterface dalamudPluginInterface, [RequiredVersion("1.0")] ChatGui chatGui, [RequiredVersion("1.0")] CommandManager commandManager)
public LogchampPlugin([RequiredVersion("1.0")] DalamudPluginInterface dalamudPluginInterface, [RequiredVersion("1.0")] IChatGui chatGui, [RequiredVersion("1.0")] ICommandManager commandManager)
{
this.chatGui = chatGui;

Expand Down
2 changes: 1 addition & 1 deletion logchamp/logchamp/LogchampPlugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Name": "LogChamp",
"Description": "automatically deletes your ACT logs after a configurable amount of time",
"Punchline": "keep your ACT's FFXIVLogs folder in check",
"Changelog": "- added option to change the logs directory",
"Changelog": "- updated to Dalamud API9",
"InternalName": "LogchampPlugin",
"Tags": ["log", "act"],
"RepoUrl": "https://github.com/Eisenhuth/dalamud-logchamp",
Expand Down
4 changes: 2 additions & 2 deletions logchamp/logchamp/logchamp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<OutputPath>$(AppData)\Eisenhuth\DalamudDevPlugins\LogchampPlugin\</OutputPath>
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
<AssemblyVersion>1.0.3.0</AssemblyVersion>
<AssemblyVersion>1.0.4.0</AssemblyVersion>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<PackageProjectUrl>https://github.com/Eisenhuth/dalamud-logchamp</PackageProjectUrl>
Expand All @@ -18,7 +18,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DalamudPackager" Version="2.1.11" />
<PackageReference Include="DalamudPackager" Version="2.1.12" />
</ItemGroup>

<PropertyGroup>
Expand Down
6 changes: 3 additions & 3 deletions logchamp/logchamp/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"net7.0-windows7.0": {
"DalamudPackager": {
"type": "Direct",
"requested": "[2.1.11, )",
"resolved": "2.1.11",
"contentHash": "9qlAWoRRTiL/geAvuwR/g6Bcbrd/bJJgVnB/RurBiyKs6srsP0bvpoo8IK+Eg8EA6jWeM6/YJWs66w4FIAzqPw=="
"requested": "[2.1.12, )",
"resolved": "2.1.12",
"contentHash": "Sc0PVxvgg4NQjcI8n10/VfUQBAS4O+Fw2pZrAqBdRMbthYGeogzu5+xmIGCGmsEZ/ukMOBuAqiNiB5qA3MRalg=="
}
}
}
Expand Down

0 comments on commit 9d774c4

Please sign in to comment.