{
  "id": "./",
  "name": "LastEditor",
  "short_name": "LastEditor",
  "description": "A document editor that works offline: letters, forms, sheets, slides and diagrams. Opens Word files, writes PDF.",
  "start_url": "./?source=pwa",
  "scope": "./",
  "display": "standalone",
  "background_color": "#fbfdfc",
  "theme_color": "#2c7a5d",
  "prefer_related_applications": false,
  "categories": ["productivity", "business"],
  "icons": [
    { "src": "icons/Icon-192.png", "sizes": "192x192", "type": "image/png" },
    { "src": "icons/Icon-512.png", "sizes": "512x512", "type": "image/png" },
    { "src": "icons/Icon-maskable-192.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" },
    { "src": "icons/Icon-maskable-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" }
  ],
  "launch_handler": { "client_mode": ["navigate-existing", "auto"] },
  "file_handlers": [
    {
      "action": "./",
      "name": "LastEditor document",
      "accept": {
        "application/x-lasteditor": [".lef", ".lefx", ".pcf", ".pcfx"],
        "text/markdown": [".md"],
        "text/plain": [".txt"],
        "application/vnd.openxmlformats-officedocument.wordprocessingml.document": [".docx"]
      }
    }
  ],
  "share_target": {
    "action": "./share-target",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "files": [
        {
          "name": "files",
          "accept": [
            ".lef", ".lefx", ".pcf", ".pcfx", ".md", ".txt", ".docx", ".odt",
            "text/plain", "text/markdown",
            "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
          ]
        }
      ]
    }
  }
}
