mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-16 05:34:16 +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) {
|
public bool InstallPlugin(PluginDefinition definition, bool enableAfterInstall = true, bool isUpdate = false, bool fromTesting = false) {
|
||||||
try
|
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 dllFile = new FileInfo(Path.Combine(outputDir.FullName, $"{definition.InternalName}.dll"));
|
||||||
var disabledFile = new FileInfo(Path.Combine(outputDir.FullName, ".disabled"));
|
var disabledFile = new FileInfo(Path.Combine(outputDir.FullName, ".disabled"));
|
||||||
var testingFile = new FileInfo(Path.Combine(outputDir.FullName, ".testing"));
|
var testingFile = new FileInfo(Path.Combine(outputDir.FullName, ".testing"));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue