Disable options if a system doesn't support it

This commit is contained in:
Cooldude2606 committed 2025-05-03 01:53:56 +01:00
1 parent 42ad7f8704
commit 0eb56b1711
5 files changed
+67 -11

No files matched your search

+1 -1
View File
@@ -537,7 +537,7 @@ hostPluginCommands.add(new lib.Command({
let hostId = await lib.resolveHost(control, args.host);
const plugins = await control.sendTo({ hostId }, new lib.PluginListRequest());
print(asTable(plugins.map(p => ({
title: p.title, version: p.version, npmPackage: p.npmPackage,
title: p.title, version: p.version, loaded: p.loaded, enabled: p.enabled, npmPackage: p.npmPackage,
}))));
},
}));