From 1d4fe490a2aba8b5959a9b58f372a127ed190f4b Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Fri, 17 Apr 2026 09:11:19 +0100 Subject: [PATCH] launcher: realign burble against keepopen-enabled template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit My earlier burble realign (in #8) was run against a launch-scaffolder binary built before the keepopen template edits had taken effect, so the merged burble-launcher.sh was missing: - keepopen wiring in write_linux_desktop_file() - CONFIG_FILE path correction to developer-ecosystem/burble - standard-spec-version bump 0.1.0 → 0.2.0 Re-ran `launch-scaffolder realign` with the current binary; output is now aligned with launcher-standard v0.2.0. Future `--integ` runs will emit keepopen-wrapped .desktop files as the standard requires. Co-Authored-By: Claude Opus 4.7 (1M context) --- burble-launcher.sh | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/burble-launcher.sh b/burble-launcher.sh index 3c0d383..9a2f04e 100755 --- a/burble-launcher.sh +++ b/burble-launcher.sh @@ -17,7 +17,7 @@ # "LM-LA-LIFECYCLE-STANDARD.adoc" # "cross-platform-system-integration-modes" # ] -# standard-spec-version = "0.1.0" +# standard-spec-version = "0.2.0" # generator = "launch-scaffolder" # ) # @a2ml-metadata end @@ -51,7 +51,7 @@ ICON_SOURCE="/var/mnt/eclipse/repos/burble/assets/icon-256.png" # produced this script. Consumed by the --integ / --disinteg arms when # the `launch-scaffolder` binary is on $PATH, so they can delegate to # the Rust implementation instead of running the shell fallback. -CONFIG_FILE="/var/mnt/eclipse/repos/burble/burble.launcher.a2ml" +CONFIG_FILE="/var/mnt/eclipse/repos/developer-ecosystem/burble/burble.launcher.a2ml" URL="http://localhost:4020" APP_PORT="4020" @@ -266,6 +266,16 @@ write_linux_desktop_file() { else icon_name="package-x-generic" fi + + # keepopen.sh implements the standard fallback ladder: GUI → TUI → + # bash-at-repo-root. See launcher-standard.adoc §Fallback Ladder. + local keepopen="/var/mnt/eclipse/repos/.desktop-tools/keepopen.sh" + local gui_cmd tui_cmd +# server-url: GUI = start server + open browser + tail log (so terminal + # stays open); TUI = start-only + follow log; Shell = repo root. + gui_cmd="$LAUNCHER_TARGET --auto && tail -f $LOG_FILE" + tui_cmd="$LAUNCHER_TARGET --start && tail -f $LOG_FILE" + cat > "$target" <