= ({ plugin }) => {
width: 'auto',
height: '160px',
}}
- src={`https://cdn.tzatzikiweeb.moe/file/steam-deck-homebrew/artifact_images/${plugin.name.replace(
- '/',
- '_',
- )}.png`}
+ src={
+ isLegacyPlugin(plugin)
+ ? `https://cdn.tzatzikiweeb.moe/file/steam-deck-homebrew/artifact_images/${plugin.artifact.replace(
+ '/',
+ '_',
+ )}.png`
+ : `https://cdn.tzatzikiweeb.moe/file/steam-deck-homebrew/artifact_images/${plugin.name.replace(
+ '/',
+ '_',
+ )}.png`
+ }
/>
= ({ plugin }) => {
{tag == 'root' ? 'Requires root' : tag}
))}
+ {isLegacyPlugin(plugin) && (
+
+ legacy
+
+ )}
@@ -132,7 +168,11 @@ const PluginCard: FC