portproton 1.7.2

This commit is contained in:
2025-07-05 13:50:12 +03:00
parent e94f431b92
commit 76905a6950
6 changed files with 99 additions and 20 deletions

10
portproton/preinstall.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/sh
if grep -q ID=debian "/etc/os-release"; then
sudo dpkg --add-architecture i386
sudo apt-get install libvulkan1:i386 libgl1: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