Loading rpm/nsd-app-wrap.spec +4 −1 Original line number Diff line number Diff line Name: nsd-app-wrap Version: 1.64 Version: 1.65 Release: 1%{?dist} Summary: Wrapper scripts to launch python applications installed via anaconda Vendor: Peter F. Peterson Loading Loading @@ -89,6 +89,9 @@ install -m 644 desktop/garnet.desktop %{buildroot}%{_datadir}/a %changelog * Fri May 24 2024 Ian Gibbs - bugfix, quicknxs rebuild font cache * Wed Apr 17 2024 Ian Gibbs - bugfix, expgui passthrough cmdline Loading src/quicknxs +15 −3 Original line number Diff line number Diff line Loading @@ -4,13 +4,25 @@ # current default is system version CONDA_ENVIRON=quicknxs-v1 # set the command to execute under the above environment COMMAND="quicknxs" if [ -v CONDA_ENVIRON ]; then # import library to do the real work source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh" # put together arguments - conda_env, application, argv args=("${CONDA_ENVIRON}" "quicknxs" "$@") # override the normal call to activate_and_launch() function _remove_font_cache # rebuild the font cache fc-cache -r # start the application activate_and_launch "${args[@]}" activate_conda_environment "${CONDA_ENVIRON}" echo "Execute: ${COMMAND} $*" "${COMMAND}" "$@" fi Loading
rpm/nsd-app-wrap.spec +4 −1 Original line number Diff line number Diff line Name: nsd-app-wrap Version: 1.64 Version: 1.65 Release: 1%{?dist} Summary: Wrapper scripts to launch python applications installed via anaconda Vendor: Peter F. Peterson Loading Loading @@ -89,6 +89,9 @@ install -m 644 desktop/garnet.desktop %{buildroot}%{_datadir}/a %changelog * Fri May 24 2024 Ian Gibbs - bugfix, quicknxs rebuild font cache * Wed Apr 17 2024 Ian Gibbs - bugfix, expgui passthrough cmdline Loading
src/quicknxs +15 −3 Original line number Diff line number Diff line Loading @@ -4,13 +4,25 @@ # current default is system version CONDA_ENVIRON=quicknxs-v1 # set the command to execute under the above environment COMMAND="quicknxs" if [ -v CONDA_ENVIRON ]; then # import library to do the real work source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh" # put together arguments - conda_env, application, argv args=("${CONDA_ENVIRON}" "quicknxs" "$@") # override the normal call to activate_and_launch() function _remove_font_cache # rebuild the font cache fc-cache -r # start the application activate_and_launch "${args[@]}" activate_conda_environment "${CONDA_ENVIRON}" echo "Execute: ${COMMAND} $*" "${COMMAND}" "$@" fi