{
  "name": "Dashboard",
  "appDomain": "launcher.app.privacysafe.io",
  "version": "0.11.2",
  "icon": "logo.png",
  "description": "Dashboard/Launcher manages and launches your apps.",

  "components": {
    "/index.html": {
      "startedBy": "user",
      "runtime": "web-gui",
      "capsRequested": {
        "logToPlatform": true,
        "mailerid": true,
        "storage": {
          "appFS": [
            {
              "domain": "launcher.app.privacysafe.io",
              "storage": "synced-n-local"
            }
          ]
        },
        "shell": {
          "fileDialog": "all",
          "userNotifications": true,
          "fsResource": {
            "thisApp": "ui-settings"
          },
          "startAppCmds": {
            "thisApp": [
              "open-system-map"
            ]
          }
        },
        "connectivity": "check",
        "system": {
          "apps": "all",
          "platform": "all",
          "monitor": "all",
          "logout": true
        }
      },
      "windowOpts": {
        "width": 800,
        "height": 700,
        "minWidth": 480,
        "minHeight": 400,
        "maxWidth": 1000
      }
    },

    "/system-map.html": {
      "runtime": "web-gui",
      "formFactor": [ "desktop", "tablet" ],
      "capsRequested": {
        "apps": "opener",
        "log": "all",
        "shell": {
          "fsResource": {
            "otherApps": {
              "launcher.app.privacysafe.io": "ui-settings"
            }
          },
          "openDashboard": true
        },
        "storage": {
          "appFS": "default"
        },
        "system": {
          "apps": [ "opener" ],
          "monitor": "all"
        }
      },
      "windowOpts": {
        "width": 1200,
        "height": 600,
        "minWidth": 800,
        "minHeight": 512
      },
      "startCmds": {
        "open-system-map": {
          "thisAppComponents": [
            "/index.html"
          ]
        }
      }
    },

    "/index-mobile.html": {
      "startedBy": "user",
      "runtime": "web-gui",
      "capsRequested": {
        "logToPlatform": true,
        "mailerid": true,
        "storage": {
          "appFS": [
            {
              "domain": "launcher.app.privacysafe.io",
              "storage": "synced-n-local"
            }
          ]
        },
        "shell": {
          "fileDialog": "all",
          "userNotifications": true,
          "fsResource": {
            "thisApp": "ui-settings"
          }
        },
        "connectivity": "check",
        "system": {
          "apps": "all",
          "platform": "all",
          "monitor": "all",
          "logout": true
        }
      }
    }
  },

  "exposedFSResources": {
    "ui-settings": {
      "allow": {
        "thisAppComponents": "*",
        "otherApps": "*"
      },
      "appStorage": "local",
      "path": "/constants/settings.json",
      "itemType": "file",
      "initValueSrc": "/constants/settings.json"
    }
  },

  "launchers": [
    {
      "name": "Dashboard",
      "icon": "logo.png",
      "description": "Dashboard/Launcher manages and launches your apps.",
      "component": "/index.html",
      "formFactor": "desktop"
    },
    {
      "name": "Dashboard",
      "icon": "logo.png",
      "description": "Dashboard/Launcher manages and launches your apps.",
      "component": "/index-mobile.html",
      "formFactor": "phone"
    }
  ]

}
