mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-22 22:36:00 +00:00
On device the client's console log showed the calls: /usr/bin/steamos-polkit-helpers/steamos-update, steamos-select-branch, jupiter-biosupdate and jupiter-dock-updater - the polkit-helpers path, not /usr/bin. The missing steamos-update there was the 'Update Error' dialog. Stubs at both paths now. Also seen on device: -steamdeck alone opts the install into the steamdeck_stable branch too, so the branch guard is what keeps a session from reinstalling; and on the publicbeta channel Deck mode reports installed version 0 at every start and reinstalls the same client (rc=42, the launch URL lost with it), while on steamdeck_publicbeta the second launch comes up with no restart at all.
10 lines
480 B
Bash
Executable File
10 lines
480 B
Bash
Executable File
#!/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
|
|
exit 7
|