summaryrefslogtreecommitdiff
path: root/frontend/src
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src')
-rw-r--r--frontend/src/store.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/frontend/src/store.tsx b/frontend/src/store.tsx
index 9b1c5d2e..7ed71e2a 100644
--- a/frontend/src/store.tsx
+++ b/frontend/src/store.tsx
@@ -10,6 +10,7 @@ export enum Store {
export interface StorePluginVersion {
name: string;
hash: string;
+ artifact: string | undefined | null;
}
export interface StorePlugin {
@@ -73,9 +74,11 @@ export async function installFromURL(url: string) {
}
export async function requestPluginInstall(plugin: string, selectedVer: StorePluginVersion) {
+ const artifactUrl =
+ selectedVer.artifact ?? `https://cdn.tzatzikiweeb.moe/file/steam-deck-homebrew/versions/${selectedVer.hash}.zip`;
await window.DeckyPluginLoader.callServerMethod('install_plugin', {
name: plugin,
- artifact: `https://cdn.tzatzikiweeb.moe/file/steam-deck-homebrew/versions/${selectedVer.hash}.zip`,
+ artifact: artifactUrl,
version: selectedVer.name,
hash: selectedVer.hash,
});