Skip to content

Commit 5adb7c2

Browse files
committed
fix(linux): native code of nested plugins
Plugins a plugin depends on (MasonKit's @nativescript/font-manager) were skipped: use the production plugins, as iOS does.
1 parent 945f6f3 commit 5adb7c2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎lib/services/linux-project-service.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,9 +560,11 @@ export class LinuxProjectService
560560
if (resources && hasNativeCode(resources)) {
561561
units.push({ name: "app", dir: resources });
562562
}
563+
// production plugins include nested ones (a plugin's own plugin dependencies), as on iOS
563564
const pluginsService: IPluginsService = injector.resolve("pluginsService");
564-
for (const plugin of await pluginsService.getAllInstalledPlugins(
565+
for (const plugin of pluginsService.getAllProductionPlugins(
565566
projectData,
567+
LinuxProjectService.PLATFORM_NAME,
566568
)) {
567569
const dir = path.join(
568570
plugin.fullPath,

0 commit comments

Comments
 (0)