Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(macos): write the Dock tile without a bundle id so the Dock keeps it

Harald Herz02f5c74e81a6
diff --git a/jarvis/setup/macos_dock.py b/jarvis/setup/macos_dock.py
index 041f8d5d98..e8e630cf23 100644
--- a/jarvis/setup/macos_dock.py
+++ b/jarvis/setup/macos_dock.py
@@ -88,10 +88,12 @@ def is_our_tile(tile: dict) -> bool:
def _tile_for(bundle: Path) -> dict:
+ # No "bundle-identifier": the Dock fills that in itself when it resolves
+ # the URL, and silently drops a hand-written tile that claims one without
+ # the bookmark data that normally comes with it (seen live, macOS 15).
return {
"tile-type": "file-tile",
"tile-data": {
- "bundle-identifier": MACOS_BUNDLE_ID,
"file-label": bundle.stem,
"file-type": 41,
"file-data": {
diff --git a/tests/unit/setup/test_macos_dock.py b/tests/unit/setup/test_macos_dock.py
index a053b20465..4401afbc58 100644
--- a/tests/unit/setup/test_macos_dock.py
+++ b/tests/unit/setup/test_macos_dock.py
@@ -71,6 +71,8 @@ def test_a_fresh_install_lands_in_the_dock(fake_dock) -> None:
assert tile["tile-data"]["file-data"]["_CFURLString"] == (
"file:///Applications/Personal%20Jarvis.app/"
)
+ # The Dock drops a hand-written tile that names a bundle id (seen live).
+ assert "bundle-identifier" not in tile["tile-data"]
assert dock.is_our_tile(tile)
assert calls[-1] == [dock._KILLALL, "Dock"]