mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 04:13:40 +01:00
feat: Encourage developers to use DLLs for devPlugins (#1958)
* Add file dialog to add a dev plugin * Require dev plugins to be paths to the DLL * Only allow .dlls in the dev plugin setting entry * Update dev plugin location hint * update wording --------- Co-authored-by: KazWolfe <KazWolfe@users.noreply.github.com>
This commit is contained in:
parent
67e6bcac61
commit
57cc2f36f9
5 changed files with 87 additions and 36 deletions
|
|
@ -772,11 +772,7 @@ internal class PluginManager : IInternalDisposableService
|
|||
|
||||
Log.Verbose("Scanning dev plugins at {Path}", setting.Path);
|
||||
|
||||
if (Directory.Exists(setting.Path))
|
||||
{
|
||||
devDllFiles.AddRange(new DirectoryInfo(setting.Path).GetFiles("*.dll", SearchOption.AllDirectories));
|
||||
}
|
||||
else if (File.Exists(setting.Path))
|
||||
if (File.Exists(setting.Path))
|
||||
{
|
||||
devDllFiles.Add(new FileInfo(setting.Path));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue