diff --git a/frontend/src/pages/GameDetail.svelte b/frontend/src/pages/GameDetail.svelte index 68a01ec..31fde93 100644 --- a/frontend/src/pages/GameDetail.svelte +++ b/frontend/src/pages/GameDetail.svelte @@ -17,6 +17,7 @@ let editPublisher = $state(""); let editDescription = $state(""); let editPlatform = $state(""); + let editExecutable = $state(""); // IGDB scrape state let scraping = $state(false); @@ -65,6 +66,7 @@ editPublisher = game.publisher || ""; editDescription = game.description || ""; editPlatform = game.platform || ""; + editExecutable = game.executable || ""; editing = true; } @@ -79,6 +81,7 @@ publisher: editPublisher || undefined, description: editDescription || undefined, platform: editPlatform || undefined, + executable: editExecutable || undefined, }); editing = false; } catch (e) { @@ -207,6 +210,25 @@ + {#if game.executables && game.executables.length > 0} +
+ Main executable: +
+ {#each game.executables as exe} + + {/each} +
+
+ {/if}