feat: archive launcher web endpoint metadata

This commit is contained in:
daydreamer-json
2026-03-07 20:54:35 +09:00
parent 4ad06fec51
commit 04626fc93e
811 changed files with 27227 additions and 281 deletions

View File

@@ -1,15 +1,17 @@
# pages
To install dependencies:
A very simple and very lame information display page written in HTML, CSS, and TypeScript
## For dev
Live server:
```bash
bun install
bun x parcel
```
To run:
Build:
```bash
bun run index.ts
bun x parcel build
```
This project was created using `bun init` in bun v1.3.9. [Bun](https://bun.com) is a fast all-in-one JavaScript runtime.

View File

@@ -170,6 +170,16 @@ async function renderOverview(container: HTMLElement) {
)()}</span><br />
Latest Version (Global)
</p>
<p class="text-center lh-1">
<span class="fw-bold fs-1">${await (
async () => {
const url = `${BASE_URL}/akEndfield/launcher/game/1/all.json`;
const dat = await fetchJson<StoredData<any>[]>(url);
return dat.at(-1)?.rsp.version;
}
)()}</span><br />
Latest Version (China)
</p>
`;
const tableWrapper = document.createElement('div');