alr-LG добавление portproton

This commit is contained in:
2025-05-16 23:49:49 +03:00
commit b1d516a1b2
6 changed files with 100 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