diff --git a/3progs.sh b/3progs.sh index 537cd19..cabad5b 100644 --- a/3progs.sh +++ b/3progs.sh @@ -626,7 +626,11 @@ if [[ $user_choice = *"MangoHud/Goverlay - MSI Afterburner Linuxos megfelelője, echo echo --------------------------------------------- echo Installing ${bold}${yellow}MangoHud/Goverlay - built from source${normal} - + + sudo mkdir -p /usr/share/goverlay/ + sudo cp -a goverlay /usr/share/goverlay/ + sudo cp -a goverlay.ico /usr/share/goverlay/ + sudo cp -a goverlay.desktop /home/$USER/.local/share/applications/ sudo apt install meson ninja-build gcc g++ glslang-dev glslang-tools libxnvctrl-dev git libx11-dev mesa-common-dev breeze libdbus-1-dev libqt6core6 libqt6gui6 libqt6printsupport6 libqt6widgets6 libqt6dbus6 libqt6network6 libqt6opengl6 libts0 qt6-base-abi qt6-base-dev libglx-dev libopengl-dev cmake libwayland-dev libxkbcommon-dev -y sudo dpkg -i libqt6pas6*.deb sudo mkdir -p /home/$USER/.mangohud @@ -636,11 +640,7 @@ if [[ $user_choice = *"MangoHud/Goverlay - MSI Afterburner Linuxos megfelelője, cd MangoHud meson build sudo ninja -C build install - cd - - sudo mkdir -p /usr/share/goverlay/ - sudo cp -a goverlay /usr/share/goverlay/ - sudo cp -a goverlay.ico /usr/share/goverlay/ - sudo cp -a goverlay.desktop /home/$USER/.local/share/applications/ + cd - sudo rm -rf /home/$USER/.mangohud echo ${bold}${yellow}MangoHud/Goverlay - built from source ${normal}installed.