Skip creating .setup.jsdos bundles for Windows games
Build & Deploy / build-and-deploy (push) Successful in 47s

- Move platform detection before setup bundle creation
- Only create setup bundle when platform != 'windows'
- Also hide the Setup button in GameDetail for Windows games
- Windows setup executables (INSTALL.EXE) can't run in DOSBox anyway
This commit is contained in:
Hermes Agent committed 2026-05-28 14:57:13 +02:00
1 parent 733bdaa44f
commit 5b55a53b73
2 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -232,7 +232,7 @@
▶ Unplayable
</button>
{/if}
{#if game.has_setup}
{#if game.has_setup && game.platform !== 'windows'}
<button class="btn btn-setup" onclick={handleSetup}>🛠 Setup</button>
{/if}
<button class="btn" onclick={startEdit}>✏ Edit</button>