feat: more things for this.
This commit is contained in:
parent
53375ea11c
commit
7a43d233e3
8 changed files with 127 additions and 35 deletions
|
|
@ -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],
|
||||
},
|
||||
],
|
||||
})
|
||||
}
|
||||
Reference in a new issue