Skip to content

Fix/deeplinking#61

Merged
asieduernest12 merged 3 commits intodamoahdominic:mainfrom
asieduernest12:fix/deeplinking
Apr 1, 2026
Merged

Fix/deeplinking#61
asieduernest12 merged 3 commits intodamoahdominic:mainfrom
asieduernest12:fix/deeplinking

Conversation

@asieduernest12
Copy link
Copy Markdown
Collaborator

No description provided.

asieduernest12 and others added 3 commits April 1, 2026 02:14
…s installer

- Windows (code.iss): add 4 [Registry] entries for Software\Classes\occode so
  Chrome can open occode:// links immediately after install, before first launch.
  Entries are removed on uninstall via uninsdeletekey.

- Linux (extension.ts): add ensureLinuxProtocolHandler() called from activate().
  Writes ~/.local/share/applications/occ-url-handler.desktop and updates
  ~/.config/mimeapps.list for both dev and production builds. Dev mode uses
  launch-editor.sh as Exec path; production uses process.execPath. Idempotent
  (keyed on exec path), silent failure, re-registers on app update or repo move.

Closes ticket-023-protocol-handler-registration

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
These three commands were called by routeHome() and the HomePanel host picker
but never registered, causing silent failures on every startup where a local
install or Docker container was detected. Also broke openclaw.install from the
command palette (it delegates to openclaw.host.setup.local).

Each command sets the WindowHostBinding for the selected host type (if not
already set) then calls HomePanel.createOrShow(), which renders the correct
dashboard or setup wizard based on the binding.

Closes ticket-024-fix-extension-routing-commands

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@asieduernest12 asieduernest12 merged commit 55165dd into damoahdominic:main Apr 1, 2026
2 checks passed
@asieduernest12 asieduernest12 deleted the fix/deeplinking branch April 1, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant