mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 12:23:39 +01:00
chore: tidy-up, move files shared between dalamud and injector into separate assembly
This commit is contained in:
parent
6f99cfe48c
commit
f44c6794e7
29 changed files with 174 additions and 129 deletions
|
|
@ -1994,7 +1994,6 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
{
|
||||
var configuration = Service<DalamudConfiguration>.Get();
|
||||
var pluginManager = Service<PluginManager>.Get();
|
||||
var startInfo = Service<DalamudStartInfo>.Get();
|
||||
|
||||
if (ImGui.BeginPopupContextItem("ItemContextMenu"))
|
||||
{
|
||||
|
|
@ -2022,10 +2021,10 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
Task.Run(() =>
|
||||
{
|
||||
pluginManager.PluginConfigs.Delete(manifest.InternalName);
|
||||
var dir = pluginManager.PluginConfigs.GetDirectory(manifest.InternalName);
|
||||
|
||||
var path = Path.Combine(startInfo.PluginDirectory, manifest.InternalName);
|
||||
if (Directory.Exists(path))
|
||||
Directory.Delete(path, true);
|
||||
if (Directory.Exists(dir))
|
||||
Directory.Delete(dir, true);
|
||||
})
|
||||
.ContinueWith(task =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue