Commit 8d5d0218 authored by Mayank Mittal's avatar Mayank Mittal

fixes conda setenv.sh to show icon of simulator

parent bea049b3
...@@ -128,6 +128,9 @@ setup_conda_env() { ...@@ -128,6 +128,9 @@ setup_conda_env() {
'' \ '' \
'# for orbit' \ '# for orbit' \
'alias orbit='${ORBIT_PATH}'/orbit.sh' \ 'alias orbit='${ORBIT_PATH}'/orbit.sh' \
'' \
'# show icon if not runninng headless' \
'export RESOURCE_NAME="IsaacSim"' \
'' > ${CONDA_PREFIX}/etc/conda/activate.d/setenv.sh '' > ${CONDA_PREFIX}/etc/conda/activate.d/setenv.sh
# reactivate the environment to load the variables # reactivate the environment to load the variables
# needed because deactivate complains about orbit alias since it otherwise doens't exist # needed because deactivate complains about orbit alias since it otherwise doens't exist
...@@ -141,6 +144,7 @@ setup_conda_env() { ...@@ -141,6 +144,7 @@ setup_conda_env() {
'unset CARB_APP_PATH' \ 'unset CARB_APP_PATH' \
'unset EXP_PATH' \ 'unset EXP_PATH' \
'unset ISAAC_PATH' \ 'unset ISAAC_PATH' \
'unset RESOURCE_NAME' \
'' \ '' \
'# restore paths' \ '# restore paths' \
'export PYTHONPATH='${cache_pythonpath}'' \ 'export PYTHONPATH='${cache_pythonpath}'' \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment