Skip to content

docs(windows): drop the retired .NET wallpaper helper from setup instructions - #323

Merged
Lucas1479 merged 1 commit into
Code-Amadeus:mainfrom
NopeCharon:docs/windows-wallpaper-python-helper
Nov 28, 2026
Merged

Lucas1479 merged 1 commit into
Code-Amadeus:mainfrom
NopeCharon:docs/windows-wallpaper-python-helper

Conversation

@NopeCharon

Copy link
Copy Markdown
Contributor

What and why

#269 replaced the self-contained .NET 8 Windows wallpaper helper with the checked-in Python helper (electron/resources/windows-wallpaper/helper.py). The user-facing setup instructions were not updated and still describe the removed build:

  • README.md, README_ZH.md and WINDOWS_INSTALL.md list the .NET 8 SDK as a wallpaper prerequisite for source runs and describe a first-run helper build that no longer exists.
  • WINDOWS_INSTALL.md tells users (and agents following the startup checklist) to run scripts\setup_windows_wallpaper.ps1 -BuildOnly and, for troubleshooting, -BuildOnly -Rebuild. The script now only declares -Python, so PowerShell rejects both commands.
  • Manual recovery points to build\windows-wallpaper\host\Amadeus.Wallpaper.exe recover, which is no longer built. The equivalent is the helper's recover command, already documented in docs/windows_wallpaper_lifecycle.md.
  • The manual setup command omits -Python, so the script uses whatever python is on PATH, although the same guide says uv-managed Python is sufficient. It now passes the backend interpreter, matching what Electron does in windowsWallpaperDependencies().

Changes:

  • Remove the .NET 8 SDK prerequisite and the helper-build step. State that the helper is a checked-in Python script run by the backend interpreter.
  • Replace the -BuildOnly checklist item with the read-only helper.py inspect check. It reports recoveryPending (run recover first) and a missing Lively executable (installed through winget on first wallpaper entry).
  • Replace both Amadeus.Wallpaper.exe recover references with .venv\Scripts\python.exe -I -S electron\resources\windows-wallpaper\helper.py recover, and remove the "helper build failed" troubleshooting row.
  • Update the paragraph in docs/windows_wallpaper_lifecycle.md that still described the replacement as an unmerged migration branch with a pending .NET 8 end-of-support decision.

Linked Issue for product-semantic or public-contract changes: none (documentation only; follows #264 / #269).

Change class

  • Routine fix, documentation, test, maintenance, or presentation-only UI
  • Product-semantic or public-contract change discussed in the linked Issue
  • Isolated, default-off experiment

Owning layer: installation and wallpaper documentation (README.md, README_ZH.md, WINDOWS_INSTALL.md, docs/windows_wallpaper_lifecycle.md).

User-visible effect, or none: Windows users are no longer told to install the .NET 8 SDK, and the setup, troubleshooting and recovery commands in the docs now run.

Compatibility or migration impact, or none: none

Evidence

Commands and manual journeys run:

Documentation only. I checked each replacement against the current sources: the param() block of scripts/setup_windows_wallpaper.ps1, the inspect/prepare/run/recover commands in helper.py main(), the setup invocation in electron/src/main/windowsWallpaper.ts, and the recovery command already in docs/windows_wallpaper_lifecycle.md. git diff --check passes. No Windows commands were run locally; CI covers the rest.

  • Relevant Python tests pass
  • CPU/model-less baseline remains supported
  • Electron npm run build passes when Electron code changed
  • Dependency audit passes when dependencies changed
  • Before/after screenshots are attached for visible UI changes
  • Documentation/examples are updated for changed settings or contracts

Final check

  • This PR addresses one coherent problem without unrelated cleanup
  • It does not add a speculative API, fallback, or compatibility path
  • No secrets, local state, model weights, voice material, or restricted assets are included
  • Third-party notices and provenance are preserved

…ructions

Code-Amadeus#269 replaced the self-contained .NET 8 wallpaper helper with the checked-in
Python helper (electron/resources/windows-wallpaper/helper.py), but the user
facing setup instructions still described the old build:

- README.md, README_ZH.md and WINDOWS_INSTALL.md listed the .NET 8 SDK as a
  wallpaper prerequisite for source runs and described a first-run helper
  build that no longer exists.
- WINDOWS_INSTALL.md told users and agents to run
  `setup_windows_wallpaper.ps1 -BuildOnly` / `-BuildOnly -Rebuild`. The script
  now only accepts `-Python`, so PowerShell rejects those flags.
- Manual recovery pointed at build\windows-wallpaper\host\Amadeus.Wallpaper.exe,
  which is no longer built. Use the helper's `recover` command, as documented
  in docs/windows_wallpaper_lifecycle.md.
- The manual setup command omitted `-Python`, so the script fell back to a
  system `python` even though the guide says uv-managed Python is enough.
  Pass the backend interpreter, matching what Electron does.

The startup checklist now uses the read-only `helper.py inspect` command to
check for a pending recovery and a missing Lively install. The lifecycle doc
no longer describes the replacement as an unmerged migration branch.

@Lucas1479 Lucas1479 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @NopeCharon for catching and updating the remaining Windows setup instructions after #269.

Verified each change against scripts/setup_windows_wallpaper.ps1, electron/resources/windows-wallpaper/helper.py, electron/src/main/windowsWallpaper.ts, and docs/windows_wallpaper_lifecycle.md: the .NET 8 SDK prerequisite and retired -BuildOnly / Amadeus.Wallpaper.exe commands are gone, the startup checklist uses the read-only helper.py inspect check without triggering software installation, and manual setup passes .venv\Scripts\python.exe explicitly. All 15 CI checks passed. Merging.

@Lucas1479
Lucas1479 merged commit ddcb699 into Code-Amadeus:main Nov 28, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants