From 0c1e2b873363155e6de1649700b89088f71f9251 Mon Sep 17 00:00:00 2001 From: Tobias Messner Date: Wed, 30 Oct 2024 10:57:31 +0100 Subject: [PATCH] fix: Use internal browser for help instead of broken external one Change Capella settings to force help to be shown using the internal browser. There was discussion about exposing help as outside the container as well, but this is probably not worth the effort. Closes #301 #159 DSD-DBS/capella-collab-manager#753 DSD-DBS/capella-collab-manager#576 --- capella/setup/setup_workspace.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/capella/setup/setup_workspace.py b/capella/setup/setup_workspace.py index 97f60028..622b652b 100644 --- a/capella/setup/setup_workspace.py +++ b/capella/setup/setup_workspace.py @@ -74,4 +74,11 @@ def _set_git_merge_mode() -> None: f"{WORKSPACE_DIR}/git", ) + # Force Help to built-in browser + _replace_config( + ECLIPSE_SETTINGS_BASE_PATH / "org.eclipse.help.base.prefs", + "always_external_browser", + "false", + ) + _set_git_merge_mode()