mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Fixed directory version when installing plugins
This commit is contained in:
parent
885bd65855
commit
00ec1520d5
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ namespace Dalamud.Plugin
|
|||
public bool InstallPlugin(PluginDefinition definition, bool enableAfterInstall = true, bool isUpdate = false, bool fromTesting = false) {
|
||||
try
|
||||
{
|
||||
var outputDir = new DirectoryInfo(Path.Combine(this.pluginDirectory, definition.InternalName, definition.AssemblyVersion));
|
||||
var outputDir = new DirectoryInfo(Path.Combine(this.pluginDirectory, definition.InternalName, fromTesting ? definition.TestingAssemblyVersion : definition.AssemblyVersion));
|
||||
var dllFile = new FileInfo(Path.Combine(outputDir.FullName, $"{definition.InternalName}.dll"));
|
||||
var disabledFile = new FileInfo(Path.Combine(outputDir.FullName, ".disabled"));
|
||||
var testingFile = new FileInfo(Path.Combine(outputDir.FullName, ".testing"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue