diff --git a/frontend/src/store.tsx b/frontend/src/store.tsx index bdaae6f2..6eba807f 100644 --- a/frontend/src/store.tsx +++ b/frontend/src/store.tsx @@ -29,9 +29,13 @@ export interface LegacyStorePlugin { // name: version export type PluginUpdateMapping = Map; -export function getPluginList(): Promise { +export async function getPluginList(): Promise { + let version = await window.DeckyPluginLoader.updateVersion(); return fetch('https://beta.deckbrew.xyz/plugins', { method: 'GET', + headers: { + 'X-Decky-Version': version.current, + }, }).then((r) => r.json()); }