mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-24 13:41:49 +01:00
Fix testing plugins install
This commit is contained in:
parent
0e0ae80ac6
commit
fd27b53593
1 changed files with 3 additions and 0 deletions
|
|
@ -70,10 +70,13 @@ namespace Dalamud.Plugin
|
|||
try {
|
||||
using var client = new WebClient();
|
||||
|
||||
var isTestingExclusive = definition.IsTestingExclusive;
|
||||
// We need to redownload the json, for the eventuality of the zip having changed after PM download
|
||||
definition = JsonConvert.DeserializeObject<PluginDefinition>(
|
||||
client.DownloadString(string.Format(this.PluginJsonUrl, fromTesting ? "testing" : "plugins",
|
||||
definition.InternalName)));
|
||||
definition.TestingAssemblyVersion = fromTesting ? definition.AssemblyVersion : "0.0.0.0";
|
||||
definition.IsTestingExclusive = isTestingExclusive;
|
||||
|
||||
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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue