chore: add release script + use 16:10 aspect ratio for plugin screenshots

release.sh: build, package ZIP, tag, and create GitHub release in one command.
Screenshot slots now use 16:10 (matches Steam Deck's 1280x800 screen) with
object-contain so full-screen Deck captures fit without cropping.
This commit is contained in:
2026-06-28 23:01:34 +08:00
parent 4958220c55
commit 48758f4704
3 changed files with 156 additions and 2 deletions
+1 -1
View File
@@ -379,7 +379,7 @@ export function PluginPageClient() {
transition={{ delay: i * 0.05 }}
className="rounded-xl border border-border bg-text/2 overflow-hidden flex flex-col"
>
<div className="relative aspect-video bg-gradient-to-br from-text/5 to-text/10 flex items-center justify-center">
<div className="relative aspect-[16/10] bg-gradient-to-br from-text/5 to-text/10 flex items-center justify-center">
{HAS_SCREENSHOT[shot.id] ? (
// eslint-disable-next-line @next/next/no-img-element
<img