Skip to content

Commit

Permalink
Enable gnome-terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeguzis committed Mar 7, 2024
1 parent c8a9344 commit 847fa79
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion utilities/update-emulators/launch-update-emulators.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,11 @@ fi

# Ignore dumb .so warnings by setting LD_PRELOAD to undefined
export LD_PRELOAD=""
konsole -e '$SHELL -c "${HOME}/.local/bin/update-emulators.sh && exit; $SHELL"'
if [[ -f "/usr/bin/konsole" ]]; then
konsole -e '$SHELL -c "${HOME}/.local/bin/update-emulators.sh && exit; $SHELL"'
elif [[ -f "/usr/bin/gnome-terminal" ]]; then
gnome-terminal -e '$SHELL -c "${HOME}/.local/bin/update-emulators.sh && exit; $SHELL"'
else
echo "[ERROR] Uknown terminal in use"
exit 1
fi

0 comments on commit 847fa79

Please sign in to comment.