Commit 40269fef authored by Gibbs, Ian's avatar Gibbs, Ian
Browse files

Merge branch 'update-refred' into 'main'

Update refred command

See merge request !92
parents 942ae10a 9d9ca88d
Loading
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
Name:           nsd-app-wrap
Version:        1.95
Version:        1.96
Release:        1%{?dist}
Summary:        Wrapper scripts to launch python applications installed via anaconda
Vendor:         Peter F. Peterson
@@ -106,6 +106,9 @@ install -m 644 desktop/ibeatles.desktop %{buildroot}%{_datadir}/a

%changelog

* Mon Jun 30 2025 Glass Elsarboukh
- Update command from RefRed to refred

* Mon Jun 16 2025 John Hetrick
- Renamed snapblue to snapwrap

+6 −1
Original line number Diff line number Diff line
@@ -5,10 +5,14 @@ CONDA_ENVIRON=refred
if [ -n "$1" ]; then
  if [ "$1" == "--dev" ]; then
    CONDA_ENVIRON=refred-dev
    CMD=refred
    shift # drop this argument
  elif [ "$1" == "--qa" ]; then
    CONDA_ENVIRON=refred-qa
    CMD=refred
    shift # drop this argument
  else
    CMD=RefRed
  fi
fi

@@ -18,6 +22,7 @@ fi
  . /bin/nsd-app-wrap.sh

# put together arguments - conda_env, application, argv
args=("${CONDA_ENVIRON}" "RefRed" "$@")
args=("${CONDA_ENVIRON}" "${CMD}" "$@")

# launch the tool
activate_and_launch "${args[@]}"