mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 08:17:47 +01:00
fix: use another directory for testing plugins
This commit is contained in:
parent
a7687287fa
commit
015562d422
2 changed files with 23 additions and 20 deletions
|
|
@ -138,12 +138,15 @@ namespace Dalamud {
|
|||
this.BotManager = new DiscordBotManager(this, this.Configuration.DiscordFeatureConfig);
|
||||
this.BotManager.Start();
|
||||
|
||||
try
|
||||
{
|
||||
this.PluginManager = new PluginManager(this, this.StartInfo.PluginDirectory, this.StartInfo.DefaultPluginDirectory);
|
||||
try {
|
||||
var pluginDir = this.StartInfo.PluginDirectory;
|
||||
if (this.Configuration.DoPluginTest)
|
||||
pluginDir = Path.Combine(pluginDir, "..", "testPlugins");
|
||||
|
||||
this.PluginManager = new PluginManager(this, pluginDir, this.StartInfo.DefaultPluginDirectory);
|
||||
this.PluginManager.LoadPlugins();
|
||||
|
||||
this.PluginRepository = new PluginRepository(this, this.StartInfo.PluginDirectory, this.StartInfo.GameVersion);
|
||||
this.PluginRepository = new PluginRepository(this, pluginDir, this.StartInfo.GameVersion);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue