[GH-ISSUE #3269] docs: docs/installation/windows.md is out of date - BACKGROUNDREMOVER_AUTO_INSTALL in .env doesn't work #1765

Closed
opened 2026-10-21 05:42:25 +07:00 by bsakaguchi · 1 comment
Owner

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.md has 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=true then start.bat), or simply point users at the reliable manual path pnpm 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.

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.md` has 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=true` then `start.bat`), or simply point users at the reliable manual path `pnpm 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.
bsakaguchi 2026-10-21 05:42:25 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Jul 5, 2026):

Addressed in #3289.

<!-- gh-comment-id:4887419576 --> @SpicyMarinara commented on GitHub (Jul 5, 2026): Addressed in #3289.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1765
No description provided.