Skip to content

v0.1.2 - settings page + native window embedding

Latest

Choose a tag to compare

@Docking666 Docking666 released this 16 Sep 17:41
· 3 commits to main since this release

eDEX-Deck v0.1.2

New: a settings page

The dock has a SETTINGS button that opens a local page (http://127.0.0.1:8899/). It is bilingual — EN / 中文 switchable in the corner, remembered in localStorage and auto-detected on first visit. From there:

  • Attach a running application — pick any window (Blender, an IDE, a browser). It becomes part of the eDEX frame by reparenting the real window handle, so it's the actual application, not a web copy.
  • Embed a web address — anything over HTTP.
  • Serve a local folder — from inside the binary, no external Python needed.
  • Save it as a profile — written back to edex-deck.json, optionally as the new default so the next double-click goes straight there.

An attached window tracks #main_shell, so it follows layout switches instead of freezing where it was attached.

Fixed

/api/windows returned an empty body. The handle coming out of EnumWindows is a ctypes HWND, which json.dumps rejects — and the error path then sent nothing at all, so the window picker could never load (you'd see Unexpected end of JSON input). Handles are now plain ints, and a response is never empty even when serialisation fails.

Notes

  • Window embedding is Windows-only by design — Wayland and macOS do not permit cross-process window embedding.
  • macOS (.dmg) and Linux binaries are produced by CI and will appear here shortly after the tag is pushed.
  • Close eDEX before upgrading: the settings service binds 127.0.0.1:8899.

Full Changelog: v0.1.1...v0.1.2