{
 "app_id": "net.krafting.Lovaflow",
 "source_url": "https://raw.githubusercontent.com/flathub/net.krafting.Lovaflow/master/net.krafting.Lovaflow.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:13:31.256722+00:00",
 "manifest": {
  "app-id": "net.krafting.Lovaflow",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "25.08",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.node24"
  ],
  "command": "run.sh",
  "finish-args": [
   "--share=ipc",
   "--device=dri",
   "--share=network",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons"
  ],
  "build-options": {
   "cflags": "-O2 -g",
   "cxxflags": "-O2 -g",
   "append-path": "/usr/lib/sdk/node24/bin",
   "env": {
    "NPM_CONFIG_LOGLEVEL": "verbose"
   }
  },
  "modules": [
   {
    "name": "Lovaflow",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "XDG_CACHE_HOME": "/run/build/Lovaflow/flatpak-node/cache",
      "npm_config_cache": "/run/build/Lovaflow/flatpak-node/npm-cache",
      "npm_config_nodedir": "/usr/lib/sdk/node24",
      "npm_config_offline": "true"
     }
    },
    "build-commands": [
     "npm install --offline",
     ". ../flatpak-node/electron-builder-arch-args.sh\nnpm run dist -- $ELECTRON_BUILDER_ARCH_ARGS  --linux --dir\n",
     "cp -a dist/linux*unpacked /app/net.krafting.Lovaflow",
     "install -Dm755 -t /app/bin/ ../run.sh",
     "cp -ar ../www /app/net.krafting.Lovaflow/www/",
     "install -Dm 0644 ../net.krafting.Lovaflow.desktop  /app/share/applications/net.krafting.Lovaflow.desktop",
     "install -Dm 0644 ../net.krafting.Lovaflow.metainfo.xml  /app/share/metainfo/net.krafting.Lovaflow.metainfo.xml",
     "install -Dm 0644 ../assets/net.krafting.Lovaflow.svg /app/share/icons/hicolor/scalable/apps/net.krafting.Lovaflow.svg"
    ],
    "subdir": "electron",
    "sources": [
     {
      "type": "script",
      "dest-filename": "run.sh",
      "commands": [
       "zypak-wrapper.sh /app/net.krafting.Lovaflow/net.krafting.lovaflow \"$@\""
      ]
     },
     "generated-sources.json",
     {
      "type": "git",
      "url": "https://gitlab.com/Krafting/lovaflow-app",
      "tag": "1.5.2",
      "commit": "300b340976ab3b1a4bf3fa0e28f4532a041bfacd",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^([\\d.]+)$"
      }
     }
    ]
   }
  ]
 }
}