You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/appdevt.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,6 @@ Each app contains a `manifest.json`, which defines the functionality of the app.
23
23
-`handler`: `String` - Path (from app directory) to a file containing JavaScript to execute at the top-level document. Required if `type` is `"manual"`, ignored otherwise - the top-level document will execute this file as JavaScript.
24
24
-`useIdbWrapper`: `Boolean` - Use the IndexedDB wrapper, which prevents the app from making accidental modifications to other app's indexeddb stores or anura's own stores. Defaults to `false`. Optional.
25
25
-`wininfo`: `Object {title, width, height, resizable}` - Required if `type` is `"auto"`.
26
-
27
26
-`wininfo.title`: `String` - The title of the program. Defaults to "". Optional.
28
27
-`wininfo.width`: `String` - The default width, in pixels, of the program. Defaults to "1000px". Optional.
29
28
-`wininfo.height`: `String` - The default height, in pixels, of the program. Defaults to "500px". Optional.
@@ -225,6 +224,7 @@ AnuraOS libraries are just like apps but contain utilities or functionality that
225
224
### Manifest
226
225
227
226
- You write a library that consists of a `manifest.json` file and an ES module. An example of the manifest file is below.
227
+
228
228
```json
229
229
{
230
230
"name": "Example Library",
@@ -238,6 +238,7 @@ AnuraOS libraries are just like apps but contain utilities or functionality that
238
238
"currentVersion": "1.0.0"
239
239
}
240
240
```
241
+
241
242
-`name` is the name of the library.
242
243
-`icon` is the icon of the library (for use in Marketplace).
0 commit comments