From a534d16b47ecd7e7836f0a87a910b62f3a608f50 Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Fri, 17 Apr 2026 08:58:25 +0100 Subject: [PATCH] launcher: realign against new keepopen-enabled template Regenerated from the launch-scaffolder tera template after it was updated to emit Exec lines routed through the standard keepopen.sh fallback ladder (hyperpolymath/standards#30, hyperpolymath/launch-scaffolder#1). Co-Authored-By: Claude Opus 4.7 (1M context) --- project-wharf-launcher.sh | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/project-wharf-launcher.sh b/project-wharf-launcher.sh index 0907cb3..57331a1 100755 --- a/project-wharf-launcher.sh +++ b/project-wharf-launcher.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: PMPL-1.0-or-later # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # @a2ml-metadata begin @@ -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 @@ -240,6 +240,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 +# process: GUI = start then tail log so terminal stays open; + # TUI = just tail the existing log; Shell = repo root. + gui_cmd="$LAUNCHER_TARGET --start && tail -f $LOG_FILE" + tui_cmd="tail -n 200 -f $LOG_FILE" + cat > "$target" <