MangoHud fix

This commit is contained in:
RP1 2024-11-27 18:24:24 +01:00
parent f665ddaffd
commit 7cc5e68cb6

View file

@ -641,12 +641,8 @@ if [[ $user_choice = *"MangoHud/Goverlay - MSI Afterburner Linuxos megfelelője,
echo ---------------------------------------------
echo Installing ${bold}${yellow}MangoHud/Goverlay - built from source${normal}
sudo nala install meson ninja-build gcc g++ glslang-dev glslang-tools libxnvctrl-dev git libx11-dev lazarus-ide mesa-common-dev breeze -y
sudo dpkg -i libqt5pas1*.deb
sudo dpkg -i libqt5pas-dev*.deb
sudo apt install -f -y
sudo dpkg -i libqt5pas1*.deb
sudo dpkg -i libqt5pas-dev*.deb
sudo apt install meson ninja-build gcc g++ glslang-dev glslang-tools libxnvctrl-dev git libx11-dev lazarus-ide 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
sudo chown -R $USER:$GROUP /home/$USER/.mangohud
cd /home/$USER/.mangohud
@ -673,17 +669,17 @@ if [[ $user_choice = *"Zenpower3 - AMD CPU Feszultseg, Aramerosseg es Fogyasztas
echo ---------------------------------------------
echo Installing ${bold}${yellow}Zenpower3 - built from source${normal}
sudo mkdir -p /home/$USER/.mangohud
sudo chown -R $USER:$GROUP /home/$USER/.mangohud
cd /home/$USER/.mangohud
git clone https://github.com/Ta180m/zenpower3.git
sudo mkdir -p /home/$USER/.zenpower
sudo chown -R $USER:$GROUP /home/$USER/.zenpower
cd /home/$USER/.zenpower
git clone https://github.com/putinvladimir/zenpower3.git
cd zenpower3
sudo make dkms-install
sudo modprobe -r k10temp
sudo bash -c 'sudo echo -e "\n# replaced with zenpower\nblacklist k10temp" >> /etc/modprobe.d/blacklist.conf'
sudo modprobe zenpower
cd -
sudo rm -rf /home/$USER/.mangohud
sudo rm -rf /home/$USER/.zenpower
echo ${bold}${yellow}Zenpower3 ${normal}installed.
echo ---------------------------------------------
echo