aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DiscordToXIV/DiscordToXIV.csproj2
-rw-r--r--DiscordToXIV/Plugin.cs2
-rw-r--r--DiscordToXIV/Windows/MainWindow.cs11
3 files changed, 11 insertions, 4 deletions
diff --git a/DiscordToXIV/DiscordToXIV.csproj b/DiscordToXIV/DiscordToXIV.csproj
index ce76f24..3a43312 100644
--- a/DiscordToXIV/DiscordToXIV.csproj
+++ b/DiscordToXIV/DiscordToXIV.csproj
@@ -3,7 +3,7 @@
<Import Project="Dalamud.Plugin.Bootstrap.targets"/>
<PropertyGroup>
- <Version>0.0.0.1</Version>
+ <Version>0.0.0.2</Version>
<Description>A sample plugin.</Description>
<PackageProjectUrl>https://github.com/goatcorp/DiscordToXIV</PackageProjectUrl>
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
diff --git a/DiscordToXIV/Plugin.cs b/DiscordToXIV/Plugin.cs
index 5e96953..bf7b476 100644
--- a/DiscordToXIV/Plugin.cs
+++ b/DiscordToXIV/Plugin.cs
@@ -38,7 +38,7 @@ public sealed class Plugin : IDalamudPlugin
private readonly CancellationTokenSource cancellationTokenSource;
private readonly List<IWebSocketConnection> connectedClients;
public Configuration Configuration { get; init; }
- private ConfigWindow ConfigWindow { get; init; }
+ public ConfigWindow ConfigWindow { get; init; }
private MainWindow MainWindow { get; init; }
public readonly WindowSystem WindowSystem = new("DiscordToXIV");
diff --git a/DiscordToXIV/Windows/MainWindow.cs b/DiscordToXIV/Windows/MainWindow.cs
index a75d4f8..b66c86d 100644
--- a/DiscordToXIV/Windows/MainWindow.cs
+++ b/DiscordToXIV/Windows/MainWindow.cs
@@ -3,6 +3,7 @@ using System.Diagnostics;
using System.Numerics;
using Dalamud.Interface.Windowing;
using DiscordToXIV;
+using DiscordToXIV.Windows;
using ImGuiNET;
namespace DiscordTOXIV.Windows;
@@ -37,6 +38,12 @@ public class MainWindow : Window, IDisposable
UseShellExecute = true,
});
}
+ ImGui.SameLine();
+ if (ImGui.Button("Configuration"))
+ {
+ Plugin.ConfigWindow.Toggle();
+ }
+
ImGui.Spacing();
ImGui.Separator();
@@ -64,7 +71,7 @@ public class MainWindow : Window, IDisposable
ImGui.Text("You can access this in your BetterDiscord client by going to Settings -> Plugins -> Open Plugin Folder");
if (ImGui.Button("BDFireToWebsocket Plugin"))
{
- Process.Start(new ProcessStartInfo("https://github.com/pinapelz/BDFireToWebsocket/blob/7b2752d529cf3c6b5115c200aeb7b6f684ce807b/BDFireToWebsocket.plugin.js")
+ Process.Start(new ProcessStartInfo("https://github.com/pinapelz/BDFireToWebsocket/releases/latest/download/BDFireToWebsocket.plugin.js")
{
UseShellExecute = true,
});
@@ -75,7 +82,7 @@ public class MainWindow : Window, IDisposable
ImGui.SetWindowFontScale(1.2f);
ImGui.Text("3. Configure BDFireToWebsocket Plugin");
ImGui.SetWindowFontScale(1.0f);
- ImGui.Text("Click on the settings icon for the BDFireToWebsocket plugin in BetterDiscord in the plugins menu");
+ ImGui.Text("Turn the plugin on and click on the settings icon for the BDFireToWebsocket plugin in BetterDiscord in the plugins menu");
ImGui.Spacing();
ImGui.Text("For Websocket address you can leave it as the default unless you know what you're doing");
ImGui.Spacing();
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage