Commit 09864c4e authored by Hetrick, John's avatar Hetrick, John
Browse files

Merge branch '6mq-update-refred' into 'main'

Changed refred prod command

See merge request sns-hfir-scse/infrastructure/nsd-app-wrap!97
parents 3e18fffd b0a77033
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
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

+1 −6
Original line number Diff line number Diff line
@@ -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
  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[@]}"