-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.go
62 lines (56 loc) · 1.59 KB
/
manifest.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package main
// Do not change this name, nux need manifest to generate AndroidManifest.xml
const manifest = `
{
import: {
ui: "nuxui.org/nuxui/ui",
},
application: {
// display name at luancher
label: starcaster,
// application identifier name
name: "org.nuxui.samples.starcaster",
},
permissions: [
// wifi,
storage,
viewPhoto,
savePhoto,
],
mainWindow: {
width: 300px,
height: 1:1,
title: "StarCaster",
content: {
type: ui.Layer,
width: 100%,
height: 100%,
children: [
{
type: ui.Column,
width: 65%,
height: 96%,
margin: {left: 1wt, right: 1wt, top: 2px},
align: {horizontal: center},
children: [
{
src: "starcaster.png",
type: ui.Image,
width: 100%,
height: 1:1,
margin: {top: 4wt, bottom: 3wt}
},{
type: ui.Text,
text: "Add a Browser Source in OBS with the URL as \"localhost:8080\".",
font: {size: 15},
textColor: #8b8b8b,
margin: {bottom: 1wt},
}
]
}
]
}
background: #000000,
},
}
`