portproton 1.7.3-3

This commit is contained in:
2025-12-08 21:15:28 +00:00
parent 93c48224f1
commit efb87a20f4
2 changed files with 308 additions and 0 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