mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-28 14:53:58 +00:00
chore: Drop steam-patch (Broken)
Recommend powertools instead
This commit is contained in:
parent
6322399a3f
commit
e140578018
@ -453,8 +453,6 @@ RUN rpm-ostree install \
|
||||
xz --check=crc32 /tmp/linux-firmware-neptune/cs35l41-dsp1-spk-{cali.bin,cali.wmfw,prot.bin,prot.wmfw} && \
|
||||
mv -vf /tmp/linux-firmware-neptune/* /usr/lib/firmware/cirrus/ && \
|
||||
rm -rf /tmp/linux-firmware-neptune && \
|
||||
wget $(jq -r '.assets[].browser_download_url | select(endswith("steam-patch"))' <<< $(curl -s 'https://api.github.com/repos/KyleGospo/steam-patch/releases' | jq -r "first(.[] | select(.prerelease == "false"))")) -O /usr/bin/steam-patch && \
|
||||
chmod +x /usr/bin/steam-patch && \
|
||||
if [[ "${FEDORA_MAJOR_VERSION}" -lt "39" ]]; then \
|
||||
rpm-ostree install \
|
||||
mesa-va-drivers \
|
||||
|
@ -1,3 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
systemctl enable --now steam-patch@$(systemd-escape $1).service
|
@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE policyconfig PUBLIC
|
||||
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
|
||||
<policyconfig>
|
||||
|
||||
<vendor>Bazzite</vendor>
|
||||
<vendor_url>https://github.com/ublue-os/bazzite/</vendor_url>
|
||||
|
||||
<action id="org.bazzite.steam-patch.pkexec">
|
||||
<description>Some Steam patches, fixing broken Steam features on Asus Rog Ally and other third-party handhelds</description>
|
||||
<icon_name>package-x-generic</icon_name>
|
||||
<defaults>
|
||||
<allow_any>yes</allow_any>
|
||||
<allow_inactive>yes</allow_inactive>
|
||||
<allow_active>yes</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/bazzite-enable-steam-patch</annotate>
|
||||
</action>
|
||||
|
||||
</policyconfig>
|
@ -1,6 +0,0 @@
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (action.id == "org.bazzite.steam-patch.pkexec" &&
|
||||
subject.isInGroup("wheel")) {
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
@ -127,14 +127,6 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
# Steam Patch setup
|
||||
if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" || $IMAGE_NAME =~ "framegame" ]]; then
|
||||
if [[ ! ":Jupiter:" =~ ":$SYS_ID:" ]]; then
|
||||
echo 'Enabling Steam-Patch'
|
||||
pkexec /usr/bin/bazzite-enable-steam-patch "$USER"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Prevent future executions
|
||||
echo "Writing state file"
|
||||
echo $USER_SETUP_VER > $USER_SETUP_VER_FILE
|
||||
|
Loading…
x
Reference in New Issue
Block a user