feat(plugin page): wire up screenshots + add compress script

- Update file paths to match provided .jpg captures (panel-overview, pair-qr,
  launch-option, entry-live)
- Flip HAS_SCREENSHOT for the 4 available ones; keep recording + session-form
  as placeholders for now (user will add in-game/phone photos later)
- entry-live.png → entry-live.jpg (smaller, still good quality at 1400px)
- All images compressed: Deck shots 1000px / q78, web shot 1400px / q78
- Add scripts/compress-screenshots.sh for re-compressing anytime
This commit is contained in:
2026-06-28 23:43:23 +08:00
parent 07933dca9e
commit 59332b4ce6
8 changed files with 73 additions and 9 deletions
+9 -9
View File
@@ -40,21 +40,21 @@ const SCREENSHOTS: Shot[] = [
title: "The plugin panel",
caption:
"The full DeckyVault panel in the Quick Access Menu — recording, account, and setup sections all in one scrollable view.",
file: "panel-overview.png",
file: "panel-overview.jpg",
},
{
id: "pair-qr",
title: "Pair with your phone",
caption:
"Tap 'Pair with Phone' and a QR code appears. Scan it with your phone, confirm on deckyvault.xyz, and your account links automatically — no copy-pasting API keys.",
file: "pair-qr.png",
file: "pair-qr.jpg",
},
{
id: "launch-option",
title: "Add the launch option",
caption:
"In Steam, right-click your game → Properties → Launch Options, and paste the MangoHud wrapper command. Copy it straight from the plugin.",
file: "launch-option.png",
file: "launch-option.jpg",
},
{
id: "recording",
@@ -77,19 +77,19 @@ const SCREENSHOTS: Shot[] = [
title: "See it on DeckyVault",
caption:
"Your submission appears on the game's page instantly — FPS averages, frame-time consistency, and TDP, all tied to your account.",
file: "entry-live.png",
file: "entry-live.jpg",
},
]
// Screenshot files that actually exist in /public/plugin/ — flip these
// to true once you've captured and saved the corresponding PNG.
// to true once you've captured and saved the corresponding file.
const HAS_SCREENSHOT: Record<string, boolean> = {
"panel-overview": false,
"pair-qr": false,
"launch-option": false,
"panel-overview": true,
"pair-qr": true,
"launch-option": true,
recording: false,
"session-form": false,
"entry-live": false,
"entry-live": true,
}
const LAUNCH_COMMAND = "~/deckyvault-mangohud.sh %command%"
Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB