From 17af6d70b46fecc22d6e7d08c39a8210d724eaec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 27 Jul 2021 21:46:38 +0200 Subject: [PATCH] GH-3974 fix pinning to taskbar in various linux environments --- launcher/package/linux/MultiMC | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher/package/linux/MultiMC b/launcher/package/linux/MultiMC index da6373bc..be35e83c 100755 --- a/launcher/package/linux/MultiMC +++ b/launcher/package/linux/MultiMC @@ -35,7 +35,7 @@ if [ "x$DEPS_LIST" = "x" ]; then chmod +x "${MMC_DIR}/bin/MultiMC" # Run MultiMC - "${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" "$@" + exec -a "${MMC_DIR}/MultiMC" "${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" "$@" # Run MultiMC in valgrind # valgrind --log-file="valgrind.log" --leak-check=full --track-origins=yes "${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" "$@" @@ -45,7 +45,7 @@ if [ "x$DEPS_LIST" = "x" ]; then # use callgrind_control -i on/off to profile actions # Exit with MultiMC's exit code. - exit $? + # exit $? else # apt if which apt-file &>/dev/null; then