feat(website): the Longshot Launcher's look, guides rewritten for launcher v2, and each launcher download's signed SHA-256 #3299
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!3299
Loadingβ¦
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:push-zzklnqmnlzmu"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The website now looks like the Longshot Launcher, its guides are rewritten for launcher v2, and every launcher download shows its signed SHA-256.
Look. Dark only. The launcher's colours, fonts (Longshot Display headings), colour bar and header with rounded tabs. Launcher-style buttons and cards; the stand-alone and hero logos.
Front page.
Install (
/install/).docs/user/getting-started.md.src/worker.ts, no Astro or Starlight) streams it through HTMLRewriter to fill in the live launcher version, the download buttons (file, size) and the SHA-256 list checked against the release's signature (Longshot#3265)./download./download/302s to/install/./download/launcher/<os>still 302s to the newest file.worker/and the download page are gone.Guides rewritten.
Removed. The progress page (
/progress301s to the Forgejo issues) and its feed code.Worker size: 2.9 MB β 0.47 MB gzipped (the code it runs is 7 KB gzipped), well under the free plan's 3 MB.
Read first:
website/src/worker.ts,src/lib/install-page.ts,src/lib/launcher-view.ts,src/lib/launcher-channel.ts(install and downloads);src/lib/front-page.ts;astro.config.ts;src/styles/theme.css.Testing
Tested: Linux (CachyOS), Firefox, on the dev server (
astro dev) and the built Worker (wrangler dev):/install/with the real launcher releases (v1.3.1 stable): version, buttons, sizes and the signed hashes for stable and nightly;/download/launcher/windows|linux302,/download/launcher/nope404 page,/download/β/install/,/progressβ Forgejo issues.node --test tests/*.test.ts97/97, including the install page filled in Miniflare from the real guide, and the error paths.astro build+scripts/check-site.tspass (19 pages, 1263 links).dev.py test-changed's list, run withrun_all.py --strict --exact) pass. A fullrun_all.py --stricthere fails about 110 GPU and host checks in 0.0 s each, plustest_lifter.py: none reads anything this changes. (The queuedtest-changedstopped atgen-shadersexiting 2 with no message; the same command passes run by hand.)The launcher screenshots were taken from LongshotLauncher main built as v2.0.0 in an empty throwaway profile (dummy saves). Some capture-only tweaks that hide the "no version built" notices were never committed. Each image's
capture_notesindocs/user/images/guide/manifest.jsonsays what was staged.Still to test:
/,/install/,/requirements/and/settings/, expecting the same layout as on Firefox, the Windows button as the main one on Windows, and no sideways scroll on the phone (by hand)./install/filled in and/download/launcher/*redirecting (by hand, needs the Release repo change under Risks).Measurements
Nothing to measure: the website and the user docs only, nothing the game runs.
Risks
website/dist/client(static) pluswebsite/dist/server/wrangler.json(the Worker), notworker/index.ts+dist. The Release repo'swebsite-stage.sh/website.pymust change with this before the next site deploy./downloadand/saves/transferredirect./progressand its feed JSON are gone; the address goes to Forgejo's issues.Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named). (The checks this change reaches pass; the full run's GPU/host failures here are named under Testing.)main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
tests/that reads changed source is updated, not weakened.mainand here, for a change that shows on screen. (to come in a comment: the live site ismain)Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.π€ Generated with Claude Code
Possibly related, for context:
WIP: feat(website): the Longshot Launcher's look, guides rewritten for launcher v2, and each launcher download's signed SHA-256to feat(website): the Longshot Launcher's look, guides rewritten for launcher v2, and each launcher download's signed SHA-256