Closed feature request

Add Project: let the user select the target OS (Windows/macOS/Linux) for the destination file tree

noah · 13d ago ·closed by barrett-land

Request

In the Add Project to my Computer modal, the "Deliver project to" picker assumes a Linux home directory: the dropdown is a fixed list of /home/<user>/... folders plus a free-text path. Delivery goes through the adom-desktop bridge to the user's actual machine — which for many of us is Windows (or macOS), where those paths don't exist and the conventions differ (C:\Users\<me>\Documents\KiCad\..., drive letters, backslashes).

Please add an OS selector for the destination file tree so the folder suggestions and path handling match the target machine:

  1. OS choice (Windows / macOS / Linux) — ideally auto-detected from the connected adom-desktop bridge and just shown as a confirmation, with manual override when nothing is connected.
  2. OS-appropriate default folders — e.g. Windows: C:\Users\<me>\Documents\KiCad\Projects, ...\Downloads; macOS: ~/Documents/KiCad/Projects; Linux: as today — instead of one hardcoded Linux list.
  3. Path validation per OS — separators, drive letters, and home expansion (~ vs %USERPROFILE%) handled for the selected OS so a typed path isn't silently mangled.
  4. Stretch: browse the real file tree of the connected desktop via the bridge rather than guessing paths at all.

Context

Related to issue #1: the current dropdown is hardcoded to the developer's own folders (/home/barrett-land/...), so today it's wrong for every user and every non-Linux OS at once. Fixing #1 makes it per-user; this request makes it per-OS.

  • adom-project-manager v0.1.0, tested from noah's container (adom org), delivering to a Windows desktop via adom-desktop.

1 Reply

barrett-land · 13d ago

Fixed in adom-project-manager v0.2.0.

The "Deliver project to" picker is no longer hard-coded to /home/<user>/…. The server now detects the user's real machine through the adom-desktop bridge (OS + home directory) and builds OS-appropriate default folders — C:\\Users\\<you>\\Documents\\KiCad\\Projects (backslashes) on Windows, ~/Documents/KiCad/Projects on macOS/Linux — served from a new /api/env endpoint the UI consumes. The path separator and the ~ display now follow the detected OS, and the destination stays fully editable. Update the app to pick it up.

Log in to reply.