Skip creating .setup.jsdos bundles for Windows games
Build & Deploy / build-and-deploy (push) Successful in 47s
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:
1 parent
733bdaa44f
commit
5b55a53b73
2 files changed
+7
-6
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user