void;
}) {
const [pluginURL, setPluginURL] = useState('');
+ const { versionInfo } = useDeckyState();
return (
-
-
-
-
-
- Enables Decky's developer settings.}
- icon={}
- >
- {
- setIsDeveloper(toggleValue);
- }}
- />
-
- setPluginURL(e?.target.value)} />}
- icon={}
- >
- installFromURL(pluginURL)}>
- Install
-
-
-
+
+
+ Updates
+
+
+
+ Beta Participation
+
+
+
+
+ Other
+
+ {
+ setIsDeveloper(toggleValue);
+ }}
+ />
+
+ setPluginURL(e?.target.value)} />}
+ >
+ installFromURL(pluginURL)}>
+ Install
+
+
+
+
+ About
+
+ {versionInfo?.current}
+
+
+
);
}
diff --git a/frontend/src/components/settings/pages/plugin_list/index.tsx b/frontend/src/components/settings/pages/plugin_list/index.tsx
index 4eb89615..48894031 100644
--- a/frontend/src/components/settings/pages/plugin_list/index.tsx
+++ b/frontend/src/components/settings/pages/plugin_list/index.tsx
@@ -1,4 +1,12 @@
-import { DialogButton, Focusable, Menu, MenuItem, showContextMenu } from 'decky-frontend-lib';
+import {
+ DialogBody,
+ DialogButton,
+ DialogControlsSection,
+ Focusable,
+ Menu,
+ MenuItem,
+ showContextMenu,
+} from 'decky-frontend-lib';
import { useEffect } from 'react';
import { FaDownload, FaEllipsisH } from 'react-icons/fa';
@@ -21,46 +29,52 @@ export default function PluginList() {
}
return (
-
- {plugins.map(({ name, version }) => {
- const update = updates?.get(name);
- return (
- -
-
- {name} {version}
-
-
- {update && (
- requestPluginInstall(name, update)}
- >
-
- Update to {update.name}
-
-
-
- )}
-
- showContextMenu(
- ,
- e.currentTarget ?? window,
- )
- }
- >
-
-
-
-
- );
- })}
-
+
+
+
+ {plugins.map(({ name, version }) => {
+ const update = updates?.get(name);
+ return (
+ -
+
+ {name} {'(' + version + ')'}
+
+
+ {update && (
+ requestPluginInstall(name, update)}
+ >
+
+ Update to {update.name}
+
+
+
+ )}
+
+ showContextMenu(
+ ,
+ e.currentTarget ?? window,
+ )
+ }
+ >
+
+
+
+
+ );
+ })}
+
+
+
);
}