This commit is contained in:
2024-02-10 14:22:32 +03:00
parent 692a832b43
commit 50ea59a724
2 changed files with 43 additions and 25 deletions

9
portproton/preinstall.sh Normal file
View File

@ -0,0 +1,9 @@
if grep -q ID=debian "/etc/os-release"; then
sudo dpkg --add-architecture i386
sudo apt-get install libvulkan1:i386
sudo apt-get update
elif grep -q ID=fedora "/etc/os-release"; then
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf update
sudo dnf upgrade --refresh
fi