From e0dac7a9a5ef4c63c49b5241bead96b051d4c218 Mon Sep 17 00:00:00 2001 From: hetrickjm Date: Tue, 29 Jul 2025 10:18:03 -0400 Subject: [PATCH 1/2] Changed refred prod command refred command changed from RefRed to refred-gui --- rpm/nsd-app-wrap.spec | 5 ++++- src/refred | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/rpm/nsd-app-wrap.spec b/rpm/nsd-app-wrap.spec index 2598ba0..63d140e 100644 --- a/rpm/nsd-app-wrap.spec +++ b/rpm/nsd-app-wrap.spec @@ -1,5 +1,5 @@ Name: nsd-app-wrap -Version: 1.99 +Version: 2.00 Release: 1%{?dist} Summary: Wrapper scripts to launch python applications installed via anaconda Vendor: Peter F. Peterson @@ -102,6 +102,9 @@ install -m 644 desktop/ibeatles.desktop %{buildroot}%{_datadir}/a %{_prefix}/share/applications/* %changelog +* Tue Jul 29 2025 John Hetrick +- Update prod command from RefRed to refred-gui + * Fri Jul 18 2025 Jose Borreguero - Update command from refred to refred-gui diff --git a/src/refred b/src/refred index 2ba60d8..6de5ccc 100644 --- a/src/refred +++ b/src/refred @@ -12,7 +12,7 @@ if [ -n "$1" ]; then CMD=refred-gui shift # drop this argument else - CMD=RefRed + CMD=refred-gui fi fi -- GitLab From b0a77033d484edc3afe6a0550ed053a929420988 Mon Sep 17 00:00:00 2001 From: hetrickjm Date: Tue, 29 Jul 2025 11:20:21 -0400 Subject: [PATCH 2/2] Refactored refred script to simplify Refred command is now the same for all envs. Updated the script to simplify and make consistent with the other scripts --- src/refred | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/refred b/src/refred index 6de5ccc..8de0667 100644 --- a/src/refred +++ b/src/refred @@ -5,15 +5,10 @@ CONDA_ENVIRON=refred if [ -n "$1" ]; then if [ "$1" == "--dev" ]; then CONDA_ENVIRON=refred-dev - CMD=refred-gui shift # drop this argument elif [ "$1" == "--qa" ]; then CONDA_ENVIRON=refred-qa - CMD=refred-gui shift # drop this argument - else - CMD=refred-gui - fi fi # import library to do the real work @@ -22,7 +17,7 @@ fi . /bin/nsd-app-wrap.sh # put together arguments - conda_env, application, argv -args=("${CONDA_ENVIRON}" "${CMD}" "$@") +args=("${CONDA_ENVIRON}" "refred-gui" "$@") # launch the tool activate_and_launch "${args[@]}" -- GitLab