Commit fc018807 authored by Jose Borreguero's avatar Jose Borreguero
Browse files

use activate_and_launch to launch the app

parent e4c159a7
Loading
Loading
Loading
Loading
Loading
+6 −9
Original line number Diff line number Diff line
@@ -16,13 +16,10 @@ if [ -v CONDA_ENVIRON ];
then
    # import library to do the real work
    source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh"

    # remove font cache
    _remove_font_cache

    # activate the environment - will be deactivated on exit
    activate_conda_environment "${CONDA_ENVIRON}"
    # put together arguments - conda_env, application, argv
    args=("${CONDA_ENVIRON}" "quicknxs2" "$@")
    # launch the tool
    activate_and_launch "${args[@]}"
else
    /usr/bin/quicknxs2
fi

# start the application
quicknxs2