Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Application manifest file

Vitor Lopes edited this page Mar 17, 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!

 {
  "application": {
  
  "name":        "my application name",
  "description": "some description",
  "version":     "0.1",
  "author":      "your name",
  "url":         "your application url",
  "license":     "GPL"
  
  },
  
  "window": {
    
    "hint_type":   "", 
    "width":       "800",
    "height":      "600",
    "fullscreen":  ""
    "resizable":   "",  
    "decorated":   "",  
    "transparent": ""  
    
  },
  
  "webkit": {
  
    "debug":  "yes"   
  }
}

Required Fields

The manifest file must provide all the following fields in its application.json descriptor file, all the fields are string type:

Manifest Options

hint_type:

  • you have 3 options:

    • 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.

width, height:

  • desired window width, height

fullscreen:

  • will override width, height
  • leave blank and above sizes will be used or type "yes"

resizable:

  • leave blank or type "no"

decorated:

  • leave blank for decorations or type "no"

transparent:

  • leave blank for normal or type "yes"

debug

  • leave blank or type "yes", you can also use (-d option in the command line).
Clone this wiki locally