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 Oct 29, 2017
·
11 revisions
Every application package should contain a manifest file named application-settings.json, it will tell JAK (Jade Application Kit) your application 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!
{
"application": {
"name": "Appication Name",
"description": "My description",
"version": "0.1",
"author": "My Name",
"url": "application url",
"license": "My licence",
"_comment": "comments and uneeded values can be removed all values are of type string"
},
"window": {
"hint_type": "",
"hint_type_comment": "default desktop, options = dock or dialog or tooltip or notification",
"width": "1024",
"height": "768",
"fullscreen": "",
"fullscreen_comment": "default yes",
"resizable": "",
"resizable_comment": "default yes",
"decorated": "",
"decorated_comment": "default yes",
"transparent": "",
"transparent_comment": "default no",
"window_icon": "/path/to/icon/icon.png"
},
"webkit": {
"debug": "",
"debug_comment": "default no",
"cache": "online",
"cache_comment": "default no cache, options = local or online",
"user_agent": "",
"user_agent_comment": "default engine default"
}
}
The manifest file must provide all the following fields in its application-settings.json descriptor file, all the fields are string type:
-
you have 3 options:
- The keyword 'dock' can be used to create panels or widgets.
- The keyword 'desktop' will spawn a fullscreen undecorated window that will stay below all windows.
- No keyword is needed for a normal application window.
- desired window width and height dimensions
- Type 'yes' for fullscreen window which will override width and height
- Default value is not full screen when left blank, specified sizes in width and height will be used
- If left blank the default value 'yes' will be used or alternatively type 'no' for a fixed size window
- If left blank the default value will be 'yes' and show window decorations or alternatively type 'no' to remove window decorations
- The default value when left blank will show a solid background, type 'yes' for a transparent window
- The default value when left blank will be production mode, type 'yes' for debug mode. Alternatively you can use '-d' in the command line for debug mode.