aboutsummaryrefslogtreecommitdiff
path: root/launcher/package
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2021-07-27 21:46:38 +0200
committerPetr Mrázek <peterix@gmail.com>2021-07-27 21:46:38 +0200
commit17af6d70b46fecc22d6e7d08c39a8210d724eaec (patch)
tree7b4ea5134f5efe585b6fe7155d1a38f944bb66ea /launcher/package
parentd2de849c8632c0e93a80a79cc4561148d8483e38 (diff)
downloadPrismLauncher-17af6d70b46fecc22d6e7d08c39a8210d724eaec.tar.gz
PrismLauncher-17af6d70b46fecc22d6e7d08c39a8210d724eaec.tar.bz2
PrismLauncher-17af6d70b46fecc22d6e7d08c39a8210d724eaec.zip
GH-3974 fix pinning to taskbar in various linux environments
Diffstat (limited to 'launcher/package')
-rwxr-xr-xlauncher/package/linux/MultiMC4
1 files 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