mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-27 03:35:15 +00:00
chore: Remove vestigial steam-patch files
This commit is contained in:
parent
9f734761d3
commit
2ae5def049
@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
systemctl enable --now steam-patch@$(systemd-escape $1).service
|
||||
systemctl enable --now restart-steam-patch-on-boot.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/libexec/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;
|
||||
}
|
||||
});
|
@ -122,14 +122,6 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
# Steam Patch setup
|
||||
if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" || $IMAGE_NAME =~ "framegame" ]]; then
|
||||
if [[ ! (":Jupiter:" =~ ":$SYS_ID:" || ":Galileo:" =~ ":$SYS_ID:")]]; then
|
||||
echo 'Enabling Steam-Patch'
|
||||
pkexec /usr/libexec/bazzite-enable-steam-patch "$USER"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Previous images used Bazzite-Arch to run Steam, Lutris, and Protontricks on desktop images
|
||||
if [[ -f "$HOME/.local/share/applications/bazzite-arch-steam.desktop" ]]; then
|
||||
rm -f "$HOME/.local/share/applications/bazzite-arch-steam.desktop"
|
||||
|
Loading…
x
Reference in New Issue
Block a user