Repository navigation
feat(handheld): Add to home screen for PC games, PS5 and Xbox - #104
xservzeroman wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
47c506e to
37c51eb
Compare
|
Tested on the Odin: the first try crashed ( 🤖 Generated with Claude Code |
|
Verified on the Odin: ES-DE (xserv Gaming) → Add to home screen → the launcher's box shows the icon from ES-DE's box art → Add → the icon is on the home screen (shortcut 🤖 Generated with Claude Code |
Add to home screen on the handheld: PC games, PS5 and Xbox get an icon on the device's own launcher (asked for: "ES-DE in xserv Gaming as an icon on the Odin desktop").
Changelog
addToHomeScreen():ShortcutManager.requestPinShortcut(Android 8+), idgame:<key>, short label = the game, long label = "game (PC name)". The intent opensHandheldHomeActivitywithEXTRA_PLAY_HERE, the existing path that waits for the PC's state, offers to wake it and asks first when another game runs.shortcutIcon(): adaptive bitmap from your own picture (CustomArt), else the box art the tile shows, else the tile's cover with the name inside the launcher's safe zone.To test
🤖 Generated with Claude Code