1717# "LM-LA-LIFECYCLE-STANDARD.adoc"
1818# "cross-platform-system-integration-modes"
1919# ]
20- # standard-spec-version = "0.1 .0"
20+ # standard-spec-version = "0.2 .0"
2121# generator = "launch-scaffolder"
2222# )
2323# @a2ml-metadata end
@@ -44,14 +44,14 @@ APP_CATEGORIES="Development;Utility;"
4444APP_GENERIC_NAME=" PanLL"
4545RUNTIME_KIND=" server-url"
4646
47- REPO_DIR=" /var/mnt/eclipse/repos/panll"
48- ICON_SOURCE=" /var/mnt/eclipse/repos/panll/assets/icon-256.png"
47+ REPO_DIR=" /var/mnt/eclipse/repos/verification-ecosystem/ panll"
48+ ICON_SOURCE=" /var/mnt/eclipse/repos/verification-ecosystem/ panll/assets/icon-256.png"
4949
5050# Absolute path back to the per-app `<app>.launcher.a2ml` config that
5151# produced this script. Consumed by the --integ / --disinteg arms when
5252# the `launch-scaffolder` binary is on $PATH, so they can delegate to
5353# the Rust implementation instead of running the shell fallback.
54- CONFIG_FILE=" /var/mnt/eclipse/repos/panll/panll.launcher.a2ml"
54+ CONFIG_FILE=" /var/mnt/eclipse/repos/verification-ecosystem/ panll/panll.launcher.a2ml"
5555
5656URL=" http://localhost:8000/public/"
5757APP_PORT=" 8000"
@@ -266,16 +266,26 @@ write_linux_desktop_file() {
266266 else
267267 icon_name=" package-x-generic"
268268 fi
269+
270+ # keepopen.sh implements the standard fallback ladder: GUI → TUI →
271+ # bash-at-repo-root. See launcher-standard.adoc §Fallback Ladder.
272+ local keepopen=" /var/mnt/eclipse/repos/.desktop-tools/keepopen.sh"
273+ local gui_cmd tui_cmd
274+ # server-url: GUI = start server + open browser + tail log (so terminal
275+ # stays open); TUI = start-only + follow log; Shell = repo root.
276+ gui_cmd=" $LAUNCHER_TARGET --auto && tail -f $LOG_FILE "
277+ tui_cmd=" $LAUNCHER_TARGET --start && tail -f $LOG_FILE "
278+
269279 cat > " $target " << EOF
270280[Desktop Entry]
271281Type=Application
272282Version=1.0
273283Name=$APP_DISPLAY
274284GenericName=$APP_GENERIC_NAME
275285Comment=$APP_DESC
276- Exec=$LAUNCHER_TARGET --auto
286+ Exec=$keepopen " $APP_DISPLAY " " $REPO_DIR " " $gui_cmd " " $tui_cmd " " $LOG_FILE "
277287Icon=$icon_name
278- Terminal=false
288+ Terminal=true
279289Categories=$APP_CATEGORIES
280290StartupNotify=true
281291StartupWMClass=$APP_NAME
0 commit comments