feat: more things for this.

This commit is contained in:
Asaki Yuki 2026-01-28 10:45:47 +07:00
parent 53375ea11c
commit 7a43d233e3
8 changed files with 127 additions and 35 deletions

View file

@ -0,0 +1,21 @@
import { getUUID } from "./linker.js"
export async function genManifest() {
const [uuid1, uuid2] = await getUUID()
return JSON.stringify({
format_version: 2,
header: {
name: "AsaJS UI",
uuid: uuid1,
description: "A framework for creating UIs for AsaJS.",
version: [4, 0, 0],
},
modules: [
{
type: "resources",
uuid: uuid2,
version: [4, 0, 0],
},
],
})
}