This repository was archived by the owner on Sep 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Application manifest file
Vitor Lopes edited this page Feb 21, 2017
·
11 revisions
Every app package should contain a manifest file named app.json, it will tell JAK your app name, version, window size, author, and tell the browser how to behave and display that information for the user.
application-settings.json is in json format!
{
"app": {
"name": "my application name",
"description": "some description",
"version": "0.1",
"author": "your name",
"url": "your application url",
"license": "GPL",
"help": ""
},
"window": {
"icon": "/your/icon/path",
"hint_type": "",
"width": 800,
"height": 600,
"fullscreen": ""
"resizable": "",
"decorated": "",
"transparent": ""
},
"webkit": {
"debug": "yes"
}
}
Each manifest file must provide all the following fields in its app.json descriptor file:
-
you got 3 options:
- ( type string )
- dock can be used to create panels or widgets.
- desktop will spawn a fullscreen undecorated window that will stay below all windows.
- leave blank for a normal application window.
- ( type string )
- path to your icon file
- ( type int )
- desired window width, height
- ( type string )
- will override width, height
- leave blank and above sizes will be used or type "yes"
- ( type string )
- leave blank or type "no"
- ( type string )
- leave blank for decorations or type "no"
- ( type string )
- leave blank for normal or type "yes"
- ( type string )
- leave blank or type "yes", you can also use (-d option in the command line).