Skip to content

Move "Add open folder in addon context menu" to develop branch (#64)#70

Merged
jliddev merged 5 commits intoWowUp:developfrom
Xathz:develop
Sep 30, 2020
Merged

Move "Add open folder in addon context menu" to develop branch (#64)#70
jliddev merged 5 commits intoWowUp:developfrom
Xathz:develop

Conversation

@Xathz
Copy link
Copy Markdown
Contributor

@Xathz Xathz commented Sep 29, 2020

See #64

Note I had to add System.ComponentModel.Annotations from nuget for it to build
Comment thread WowUp.Common/WowUp.Common.csproj
Comment thread WowUp.WPF/Extensions/AddonExtensions.cs Outdated
addon1.ClientType == addon2.ClientType;
}

public static string GetFullFolderPath(this Addon addon, IWarcraftService warcraftService) => Path.GetFullPath(Path.Combine(warcraftService.GetAddonFolderPath(addon.ClientType), addon.FolderName));
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably go in the IWarcraftService
Originally posted by @jliddev in #64 (comment)


Do you want an addon feature to be in there?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, AddonService is probably more appropriate since it already references Warcraft service. Having it be an extension seems out of place with dependency injection.

@Xathz Xathz marked this pull request as ready for review September 29, 2020 19:31
@jliddev jliddev merged commit 90fc7f9 into WowUp:develop Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants