mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-20 13:26:02 +00:00
cleanup (#764)
This commit is contained in:
1 parent
4163b31b02
commit
83ec5708ed
852 files changed
+4844
-46144
No files matched your search
@@ -1,3 +1,2 @@
|
||||
#!/bin/sh
|
||||
# No Deck BIOS here. The client calls this in Deck mode; a clean exit is "nothing to do".
|
||||
exit 0
|
||||
@@ -1,3 +1,2 @@
|
||||
#!/bin/sh
|
||||
# No Deck BIOS here. The client calls this in Deck mode; a clean exit is "nothing to do".
|
||||
exit 0
|
||||
@@ -1,8 +1,4 @@
|
||||
#!/bin/sh
|
||||
# No Deck dock here. The client runs this with --check at start (systemdockmanager.txt) and reads
|
||||
# the exit code: 0 with nothing printed is taken as "an update is available" and puts a Dock
|
||||
# Firmware Update row with an Apply button in Settings > System. 7, SteamOS's "nothing to do",
|
||||
# is read as up to date (state 2 in that log, against state 4 for exit 0; both seen on device).
|
||||
case "${1:-}" in
|
||||
--check) exit 7 ;;
|
||||
esac
|
||||
|
||||
@@ -1,6 +1,2 @@
|
||||
#!/bin/sh
|
||||
# steamos-priv-write <path> <value>: how the client in Deck mode sets brightness, TDP and fan
|
||||
# controls through sysfs. None of those paths is writable from an app on Android, and the app
|
||||
# already sets the panel's mode and the game-tier power policy from the Android side. Accept
|
||||
# and do nothing, so the client never logs a failed helper.
|
||||
exit 0
|
||||
@@ -1,8 +1,4 @@
|
||||
#!/bin/sh
|
||||
# The SteamOS update-branch selector the client calls in Deck mode. The session forces the client
|
||||
# branch on the command line and keeps package/beta in step with it, so a selection here would
|
||||
# only start the restart loop the session script describes. List and report the stable branch;
|
||||
# accept and ignore a choice.
|
||||
case "${1:-}" in
|
||||
-l) printf 'rel\n' ;;
|
||||
-c) printf 'rel\n' ;;
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
#!/bin/sh
|
||||
# The session carries the device's time zone in TZ already; the client's own setter is a no-op.
|
||||
exit 0
|
||||
@@ -1,8 +1,4 @@
|
||||
#!/bin/sh
|
||||
# What the Steam client calls in Deck mode (from /usr/bin/steamos-polkit-helpers/, seen in its
|
||||
# console log on device; a copy sits in /usr/bin as well) to look for a SteamOS update. There is no SteamOS
|
||||
# here: the answer is "no update", which is exit 7 in SteamOS's convention, and the client moves
|
||||
# on. --supports-duplicate-detection is a capability probe and answers yes. Staged from the apk.
|
||||
case "${1:-}" in
|
||||
--supports-duplicate-detection) exit 0 ;;
|
||||
esac
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
#!/bin/sh
|
||||
# The SteamOS update-branch selector the client calls in Deck mode. The session forces the client
|
||||
# branch on the command line and keeps package/beta in step with it, so a selection here would
|
||||
# only start the restart loop the session script describes. List and report the stable branch;
|
||||
# accept and ignore a choice.
|
||||
case "${1:-}" in
|
||||
-l) printf 'rel\n' ;;
|
||||
-c) printf 'rel\n' ;;
|
||||
|
||||
@@ -1,10 +1,4 @@
|
||||
#!/bin/sh
|
||||
# The SteamOS session switch. Big Picture's power menu runs it for "Switch to Desktop" (a Plasma
|
||||
# session: "plasma", "plasma-wayland-persistent", ...) and waits for Game Mode to end; with nothing
|
||||
# here it sat on "Switching to Desktop..." for ever. Here the desktop is DroidDeck's own: the app is
|
||||
# asked for a desktop session with Steam's desktop client open in it (the request file
|
||||
# droiddeck-steam-launch uses; the app ends this session and starts that one). Anything else -
|
||||
# "gamescope", the session Game Mode already is - has nothing to do.
|
||||
echo "steamos-session-select: $*" >&2
|
||||
case "${1:-}" in
|
||||
""|gamescope) exit 0 ;;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
#!/bin/sh
|
||||
# What the Steam client calls in Deck mode to look for a SteamOS update. There is no SteamOS
|
||||
# here: the answer is "no update", which is exit 7 in SteamOS's convention, and the client moves
|
||||
# on. --supports-duplicate-detection is a capability probe and answers yes. Staged from the apk.
|
||||
case "${1:-}" in
|
||||
--supports-duplicate-detection) exit 0 ;;
|
||||
esac
|
||||
|
||||
Reference in new issue
Block a user