Add native Brave Origin and embed distro SVG logos - #10
Merged
Conversation
Install Brave Origin via the official installer after downloading only the pinned dl.brave.com script and signature, GPG-verifying fingerprint D16166072CACDF2C9429CBF11BF41E37D039F691, and running the temp file with FLAVOR=origin. Nested sudo uses -n against the GUI sudo -S -v cache. Keep the existing Brave Browser Flatpak row. Rasterize distro logos from include_str! markup so assets/*.svg are not read at runtime. Co-authored-by: The Linux IT Guy <TheLinuxITGuy@users.noreply.github.com>
TheLinuxITGuy
marked this pull request as ready for review
September 2, 2026 01:10
Rasterize remaining app logos from compile-time include_str markup and delete assets/icons. Brave Origin uses the official Nala outlined lion in black; Brave Browser keeps the orange mark. Drop unused Screenshot extras, the unwired VMware Player Fix helper, and the direct image crate dependency. Distro SVGs, fonts, and the Brave installer GPG key stay as compile-time sources. Co-authored-by: The Linux IT Guy <TheLinuxITGuy@users.noreply.github.com>
Keep brave-origin.svg for the Origin row. App tiles use the original PNGs. Do not regenerate Simple Icons.
Point logos.rs at assets/logos/brave-origin.svg via include_str and the restored PNG tiles via include_bytes. Brave Browser stays on brave.png; htop, LibreOffice, and mpv fall back to letter tiles. Co-authored-by: The Linux IT Guy <TheLinuxITGuy@users.noreply.github.com>
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 changed
brave-originpackage,brave-originexec, empty Flatpak ID).com.brave.Browser).assets/on disk.Branding, MIT license, eframe 0.34.1, identifier validation, and argv-style helper commands are unchanged.
How Brave Origin is installed and verified
Install is not Flatpak and not
curl | sh.sudo -S -v.main.shdownloads only:https://dl.brave.com/install.shhttps://dl.brave.com/install.sh.ascGNUPGHOMEagainst the vendored keyassets/keys/brave-install.sh.asc.VALIDSIGfor fingerprintD16166072CACDF2C9429CBF11BF41E37D039F691.FLAVOR=origin(noeval, no pipe-to-shell).sudofrom Brave’s installer is wrapped assudo -nso it uses the cached ticket and cannot hang on a nested interactive prompt.Remove uses the existing native-remove path. On Arch the AUR package name is
brave-origin-bin; Debian/Fedora usebrave-origin.Official docs: https://brave.com/origin/linux/
How logos are embedded
src/logos.rscompiles:assets/logos/brave-origin.svgviainclude_str!(white outlined lion on a dark tile). This is not the orange Brave Browser mark and not the generated Nala lion.assets/logos/*.pngviainclude_bytes!. Brave Browser usesbrave.png(orange).assets/distros/{arch,debian,fedora}.svgviainclude_str!.htop, LibreOffice, and mpv have no tile file and use the letter fallback. Fonts and
assets/keys/brave-install.sh.ascstay.Unused cleanup
Removed from the tree:
assets/icons/— tiles now live underassets/logos/VMware Player Fix/— standalone/unwired helper, not in the UI allowlistScreenshot/images — README preview still usesScreenshot/Screenshot7.pngHow to smoke-test
cargo fmt --check cargo clippy --all-targets --all-features -- -D warnings cargo test --all-targetsManual UI checks:
cargo build --releaseand run./target/release/linux-it-guy-toolbox.assets/and run it from there; tiles and distro chips should still render.FLAVOR=origin.brave-originorbrave-origin-binon Arch).