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
+1
View File
@@ -28,6 +28,7 @@ pub const DESTRUCTIVE: &[&str] = &[
"data delete",
"worlds delete",
"multiplayer remove",
"screenshots delete",
];
/// Commands that send something or reach other people: only when the player asks.