WANGY1ER asked on X for Windows: the plugin said "macOS only", because
binary() knew only /Applications/Doubao.app. Doubao's Windows app is the
same Chromium 147 fork with the same chat page (doubao://doubao-chat/chat),
so the plugin drives it the same way.
- binary(): %LOCALAPPDATA%\Doubao\Application\app\Doubao.exe, the per-user
install's own exe (Application\Doubao.exe beside it is a launcher).
- dataDir(): %LOCALAPPDATA%\magpie-doubao-work.
- copies() is empty on Windows: Chromium keeps one copy per profile there,
so the user's own Doubao keeps running and the plugin's copy opens
beside it, in a second window. No "quit Doubao first" on Windows.
- Linux stays unsupported: Doubao has no Linux build. Its download page's
platform list is ios, android, mac, OpenHarmony, windows. The sign-in
says so.
Run:
- bun test packages/doubao-work: 29 pass on mote (temp HOME, as CI),
win-run (Windows 11) and wsl-run (Ubuntu 24.04). bun scripts/check.mjs ok.
- Live on xiaomi-gpu (Windows 11, Doubao 2.34.6 / Chromium 147), with the
owner's own Doubao running in the console session: the plugin's App
started app\Doubao.exe from its own profile beside it, its DevTools port
answered with doubao://doubao-chat/chat, owns() took it, and each step
of an ask ran in the real page: NEW_TASK "", CLOUD "" (mode 云电脑),
自动 and 豆包 2.1 Lite picked, 豆包 2.1 Pro "upgrade", fill wrote three
lines into tiptap. The owner's copy was untouched throughout.
Broken by hand:
- binary() without its win32 line: "the app is found on macOS and
Windows" is red on mote and Windows.
- copies() without its win32 line: "on Windows a running copy never
blocks" is red on mote.
Not tried: a signed-in request on Windows. That Doubao has no account
signed in (its cookie jar is empty), so Enter was not sent; signed-in
STATE relies on data-testid=sidebar_bottom as on macOS.