frontend: warn about the dangers of massive texture packs (#567)
Some checks are pending
🔨 Build / App (macos-12) (push) Waiting to run
🔨 Build / App (ubuntu-20.04) (push) Waiting to run
🔨 Build / App (windows-latest) (push) Waiting to run
📝 Linter / Frontend (push) Waiting to run
📝 Linter / Backend Formatting (push) Waiting to run
📝 Linter / Backend Linter (push) Waiting to run
🧪 Tests / Frontend (push) Waiting to run

Fixes #310 

I don't really want to do too much in regards to this because it's a
problem caused by third-party stuff. So I'm just adding a warning to
hopefully reduce the little frequency of this that we get.

Support wise:
- the launcher settings shows if they are using texture packs or not
- the installation logs from the tooling show if it's massive or not
(it's usually obvious if they have thousands of texture replacement
logs)
This commit is contained in:
Tyler Wilding 2024-09-21 22:13:16 -04:00 committed by GitHub
parent 86e68c90dc
commit 543f937dfa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -14,6 +14,7 @@
"features_textures_moveDown_buttonAlt": "move texture pack down in order",
"features_textures_moveUp_buttonAlt": "move texture pack up in order",
"features_textures_replacedCount": "Textures replaced",
"features_textures_largePackWarning": "Very large texture packs (hundreds of megabytes) may fail to install or impact game performance.",
"gameControls_update_mod": "Update",
"gameControls_active": "(Active)",
"gameControls_always_use_newest": "Always Use Newest",

View file

@ -261,6 +261,12 @@
{packAddingError}
</Alert>
</div>
{:else}
<div class="flex flex-row font-bold mt-3">
<Alert color="red" class="flex-grow">
{$_("features_textures_largePackWarning")}
</Alert>
</div>
{/if}
<div class="flex flex-row font-bold mt-3">
<h2>{$_("features_textures_listHeading")}</h2>