You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Native Windows: the draw.io CLI is found again. The Windows installer names the executable draw.io.exe (with the dot), while the scripts used the bare name drawio. drawio2pptx.py, drawiohtml.py, svgflow.py, and timelapse.py crashed with FileNotFoundError; buildup.py and prdiff.py reported the CLI as missing and skipped images. All of them, plus diagramctl.py doctor, now share one drawio_cli.resolve_drawio() resolver. It tries drawio and draw.io on PATH, then the macOS app bundle and the Windows %ProgramFiles%, %ProgramFiles(x86)%, and %LOCALAPPDATA%\Programs install directories, and passes the absolute path to subprocess. That also rules out .cmd shims, which Windows CreateProcess cannot launch (#143).
explain.py on Windows: redirected Markdown is written as UTF-8, so arrows and other non-ASCII text no longer fail under a legacy code page.
Changed
SVG text labels: documented the per-cell convertToSvg=1; style for web-destined diagrams, its conversion limits and version gate, and the re-export caveat; the SVG and HTML exporter docs link to it.
PPTX export: documented that drawio2pptx.py embeds a raster image per slide rather than individually editable PowerPoint shapes.
Installation docs: corrected the manual placement recipe and the update attribution; the website install tabs match.
Japanese README: README_JA.md added, linked from the language row.
Tests
255 tests pass, 4 skipped. Seven new tests cover the resolver: PATH priority, the dotted name, the macOS app-bundle fallback, both Windows install directories, the nothing-installed case, and PATH hits winning over install locations.
The --embed-svg-images regression test now asserts that the resolved absolute path reaches argv, not a bare name.
CI runs on Ubuntu without draw.io installed, so the resolver is also exercised on the negative path.