MangoHud/bin/install.sh

11 lines
583 B
Bash
Raw Normal View History

2020-02-02 22:40:06 +00:00
#!/bin/bash
2020-02-12 11:00:18 +00:00
cp -rv ".local/share/vulkan/implicit_layer.d/"* "$HOME/.local/share/vulkan/implicit_layer.d/"
cp -v ".local/share/MangoHud/"* "$HOME/.local/share/MangoHud/"
if [[ ! -f "$HOME/.local/share/MangoHud/MangoHud.conf" ]]; then
cp -v ".local/share/MangoHud/MangoHud.conf" "$HOME/.local/share/MangoHud/"
fi
sed -i "s|libMangoHud.so|$HOME/.local/share/MangoHud/libMangoHud32.so|g" "$HOME/.local/share/vulkan/implicit_layer.d/mangohud32.json"
sed -i "s|libMangoHud.so|$HOME/.local/share/MangoHud/libMangoHud.so|g" "$HOME/.local/share/vulkan/implicit_layer.d/mangohud64.json"