diff options
Diffstat (limited to 'frontend/src')
| -rw-r--r-- | frontend/src/store.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
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<string, StorePluginVersion>; -export function getPluginList(): Promise<StorePlugin[]> { +export async function getPluginList(): Promise<StorePlugin[]> { + 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()); } |
