{
 "app_id": "com.sciactive.QuickDAV",
 "source_url": "https://raw.githubusercontent.com/flathub/com.sciactive.QuickDAV/master/com.sciactive.QuickDAV.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--device=all",
  "--filesystem=home",
  "--filesystem=/media",
  "--filesystem=/run/media",
  "--filesystem=/run/udev:ro",
  "--filesystem=/mnt"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:08:44.491713+00:00",
 "manifest": {
  "id": "com.sciactive.QuickDAV",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "24.08",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.node22"
  ],
  "command": "run.sh",
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--share=network",
   "--device=all",
   "--filesystem=/run/udev:ro",
   "--filesystem=home",
   "--filesystem=/media",
   "--filesystem=/run/media",
   "--filesystem=/mnt"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/node22/bin",
   "env": {
    "NPM_CONFIG_LOGLEVEL": "info"
   }
  },
  "modules": [
   {
    "name": "quickdav",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "XDG_CACHE_HOME": "/run/build/quickdav/flatpak-node/cache",
      "npm_config_cache": "/run/build/quickdav/flatpak-node/npm-cache",
      "npm_config_nodedir": "/usr/lib/sdk/node22",
      "npm_config_offline": "true"
     }
    },
    "build-commands": [
     "bash build-flatpak.sh",
     "cp -a source/dist/linux*unpacked /app/main",
     "install -Dm755 -t /app/bin/ ./run.sh",
     "install -D -m644 -t /app/share/applications ./source/com.sciactive.QuickDAV.desktop",
     "install -D -m644 -t /app/share/metainfo ./source/com.sciactive.QuickDAV.metainfo.xml",
     "install -D -m644 -T ./source/app/assets/icons/png/512x512.png /app/share/icons/hicolor/512x512/apps/com.sciactive.QuickDAV.png",
     "install -D -m644 -T ./source/appicon.svg /app/share/icons/hicolor/scalable/apps/com.sciactive.QuickDAV.svg"
    ],
    "sources": [
     "generated-sources.json",
     {
      "type": "git",
      "url": "https://github.com/sciactive/quickdav.git",
      "commit": "a976237f431fb155f951046d2350b5155bd632eb",
      "dest": "source"
     },
     {
      "type": "file",
      "path": "build-flatpak.sh"
     },
     {
      "type": "script",
      "dest-filename": "run.sh",
      "commands": [
       "AUTOUPDATE=\"off\" zypak-wrapper.sh /app/main/quickdav \"$@\""
      ]
     }
    ]
   }
  ]
 }
}