mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3269] docs: docs/installation/windows.md is out of date - BACKGROUNDREMOVER_AUTO_INSTALL in .env doesn't work #1765
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#1765
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kolacheee on GitHub (Jul 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3269
Originally assigned to: @SpicyMarinara on GitHub.
docs/installation/windows.mdhas drifted from the shipped app. Found in a full docs-vs-code audit against v2.1.0. Each item below is independently checkable: open the doc at the noted spot and compare against the app or code. These can all land in one PR that refreshes the file.1 item found.
1. lines 68-72 ("Optional AI Sprite Background Removal" closing paragraph + env block)
(broken example)
The doc promises that setting BACKGROUNDREMOVER_AUTO_INSTALL=true in .env makes start.bat install the background remover automatically on first launch. It does not: start.bat evaluates the flag before it ever parses .env, so a value that lives only in .env is invisible to the auto-install check, and the step is silently skipped. There is no server-side fallback either - the server never reads this variable and only reports "Run pnpm backgroundremover:install" when the tool is missing. With the default SPRITE_BACKGROUND_REMOVAL_ENGINE=auto, sprite cleanup silently falls back to the built-in matte path, so a user following this doc exactly gets no install and no error, and may never notice.
Suggested fix: Preferred: fix the launchers to load .env before the background-remover step (start.bat move the .env parse above line 261; start.sh source .env above line 217), which makes reality match windows.md, macos-linux.md, .env.example, and CONFIGURATION.md - file this as a launcher bug. Doc-only alternative: rewrite the paragraph to say the variable must be set in the actual environment before running the launcher (e.g.
set BACKGROUNDREMOVER_AUTO_INSTALL=truethenstart.bat), or simply point users at the reliable manual pathpnpm backgroundremover:install(root package.json:37) and drop the .env claim; if doc-only, also correct macos-linux.md:97-101, .env.example:178, and CONFIGURATION.md:65 which repeat the same promise.@SpicyMarinara commented on GitHub (Jul 5, 2026):
Addressed in #3289.