Launcher: screenshots gallery per instance

Home shows the selected instance's newest screenshots (what F2 saves in its
screenshots/ folder), all of them on request, and opens one over the window
with Newer/Older (and the arrow keys), Copy (the picture to the clipboard),
Open, Show in folder and Delete (to the trash, after a confirmation).

CLI: `screenshots [list|delete] [--instance]`; `screenshots delete` needs
confirm over MCP. worlds::to_trash is shared by worlds and screenshots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-27 02:09:39 +01:00
parent ea0cc65aea
commit 0d5ed8122e
9 changed files with 546 additions and 3 deletions
+21
View File
@@ -374,6 +374,27 @@ Move a world to the system's trash.
MCP: `worlds_delete`, needs `confirm: true`.
## `horizon-launcher screenshots list`
The screenshots, the newest first, with their files (the default).
horizon-launcher screenshots list
- `--instance`: The instance (default: the selected one)
MCP: `screenshots_list`.
## `horizon-launcher screenshots delete`
Move a screenshot to the system's trash.
horizon-launcher screenshots delete <SCREENSHOT>
- `SCREENSHOT`: Its file name, with or without .png
- `--instance`
MCP: `screenshots_delete`, needs `confirm: true`.
## `horizon-launcher multiplayer list`
The servers of the game's Multiplayer screen (the default).