@nativescript/windows 0.1.0-alpha.56 → 0.1.0-alpha.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -125,10 +125,23 @@ public static partial class Bridge
|
|
|
125
125
|
dirs.Add(processDir);
|
|
126
126
|
|
|
127
127
|
// plugins/ subtree: CLI-managed plugin DLLs live here.
|
|
128
|
+
// Check both {processDir}/plugins and {processDir}/../plugins because
|
|
129
|
+
// the NS CLI places plugins/ as a sibling of bin/, not inside it.
|
|
128
130
|
var pluginsDir = Path.Combine(processDir, "plugins");
|
|
129
131
|
if (Directory.Exists(pluginsDir))
|
|
130
132
|
try { dirs.AddRange(Directory.GetDirectories(pluginsDir, "*", SearchOption.AllDirectories)); } catch { }
|
|
131
133
|
|
|
134
|
+
var parentDir = Path.GetDirectoryName(processDir);
|
|
135
|
+
if (!string.IsNullOrEmpty(parentDir))
|
|
136
|
+
{
|
|
137
|
+
var parentPlugins = Path.Combine(parentDir, "plugins");
|
|
138
|
+
if (Directory.Exists(parentPlugins))
|
|
139
|
+
{
|
|
140
|
+
dirs.Add(parentPlugins);
|
|
141
|
+
try { dirs.AddRange(Directory.GetDirectories(parentPlugins, "*", SearchOption.AllDirectories)); } catch { }
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
132
145
|
// libs/ relative to the app root (alternative convention).
|
|
133
146
|
var processLibs = Path.Combine(processDir, "libs");
|
|
134
147
|
if (Directory.Exists(processLibs))
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|