Skip to content

feat: route G-code and brand Finder file icons - #4

Merged
MoraesGil merged 8 commits into
mainfrom
codex/gcode-router-icons
Nov 13, 2026
Merged

MoraesGil merged 8 commits into
mainfrom
codex/gcode-router-icons

Conversation

@MoraesGil

@MoraesGil MoraesGil commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

What changes

Routes .gcode through the generating slicer, with confirmed per-file choices and explicit printer mappings taking priority. Making the Router the default now covers both .3mf and .gcode. Small Finder icons retain the Router logo and identify the selected slicer with a coloured outline and letter marker.

Both READMEs now start with a prominent DMG download card, clear macOS requirements and installation instructions for people who do not build software.

Why

G-code previews existed, but the app did not claim G-code as an openable document or set its default handler. Small file icons could remain generic or show only another slicer's app icon.

How it was checked

  • Universal native Release build; strict deep code-signature checks.
  • 64 local tests passed, including generator parsing, precedence, Prusa bundle aliases, icon ownership, file bytes and nanosecond modification dates, cached icon refresh, copy/rename/offline preference recovery and both file associations.
  • EN/PT links, generated icon illustration, plists, workflow YAML and shell syntax checked; git diff --check passed.
  • PR CI with Xcode passed on final commit 75f5166, including build, tests and downloadable-package verification.
  • Finder before/after checks with six synthetic files; Quick Look opened a synthetic G-code toolpath in 3D. Native Quick Look thumbnail requests still returned model images at 512 px.
  • Packaged DMG mounted read-only and verified against the ZIP: version 1.5.0, arm64 + x86_64, strict signatures and SHA256 checksums.

Notes for the reviewer

Before After
Finder 1.4.0: generic 3MF pages and green G-code icons Finder 1.5.0: Router logos with Bambu, Orca, Snapmaker and Prusa markers

Screenshots show the same six synthetic files. macOS also gives custom file icons priority in Finder's icon view; press Space for the model in Quick Look. The README states this behaviour. Before/after screenshots cover file icons, not a clean-Mac installation or physical printing.

The app remains ad-hoc signed and unnotarized. A clean-Mac installation is not claimed. Existing personal custom icons are preserved. No printer job is sent or G-code executed; only synthetic files are used for validation.

@MoraesGil MoraesGil added the enhancement New feature or request label Nov 13, 2026
@MoraesGil
MoraesGil marked this pull request as ready for review November 13, 2026 04:19
@MoraesGil
MoraesGil merged commit c5a5958 into main Nov 13, 2026
1 check passed
@MoraesGil
MoraesGil deleted the codex/gcode-router-icons branch November 13, 2026 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant