Repository navigation
USB Forge boot menu theme, plus cleanup of duplicated logic (v0.3.0) - #4
Merged
Merged
Conversation
Boot menu theme: - Write a USB Forge GRUB theme and plugin config to the data partition after the ISOs are copied (boot loader theme plugin; no change to boot loader binaries or Secure Boot). Non-fatal: on failure the drive keeps the stock look. - assets/boot-theme: theme.txt plus images generated by make-theme.ps1 in the app's colours. Cleanup: - Linux: test the real lsblk parser (parse_disks) instead of a copy of it. - Rename catalog::sums_after_sha256_marker to sha256_line_matching (it never looked for a marker). - Reuse net::cancelled in the job; share disks::RESERVED_BYTES between the UI and the job; look up each tool row once instead of three times. - Platform-neutral "Waiting for the new partition to mount..." text. - Drop unused Clone on Plan; fix doc typos. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change?
USB Forge boot menu theme. After the ISOs are copied, the build writes a USB Forge GRUB theme and plugin config (
ventoy/ventoy.json,ventoy/theme/usb-forge/) to the data partition. The boot menu now uses the app's dark colours, logo and wordmark instead of the stock look, and the boot loader's own name/version line is drawn in the background colour so it doesn't show. This uses the boot loader's supported theme plugin: no boot loader binaries are changed and Secure Boot is unaffected. Writing the theme is non-fatal; if it fails the drive keeps the stock look and the log says so. Images are generated byassets/boot-theme/make-theme.ps1.Cleanup of duplicated and misleading logic:
parse_disks) instead of a copy that had drifted.catalog::sums_after_sha256_markerrenamed tosha256_line_matching(it never looked for a marker).net::cancelled; the UI and job sharedisks::RESERVED_BYTES; each tool row reads the version lookups once instead of three times.CloneonPlanremoved; doc typos fixed.Checklist
cargo fmt --all --check,cargo clippy --workspace --all-targets --locked -- -D warningsandcargo test --workspace --lockedpassCargo.toml(andCargo.lock) for this feature or fix (0.2.0 → 0.3.0)Notes for reviewers
New tests:
boot_themechecks the config points at the bundled theme, every imagetheme.txtuses is bundled and is a PNG, the hidden-text colour matches the theme background, and installing writes the expected files.🤖 Generated with Claude Code