{
 "app_id": "ar.com.pilas_engine.App",
 "source_url": "https://raw.githubusercontent.com/flathub/ar.com.pilas_engine.App/master/ar.com.pilas_engine.App.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=dri",
  "--filesystem=home"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:06:32.304226+00:00",
 "manifest": {
  "app-id": "ar.com.pilas_engine.App",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "25.08",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "pilas-engine",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--socket=pulseaudio",
   "--share=network",
   "--device=dri",
   "--filesystem=home"
  ],
  "modules": [
   {
    "name": "extras",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm644 extras/${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml",
     "install -Dm644 extras/${FLATPAK_ID}.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "install -Dm644 extras/${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://api.github.com/repos/pilas-engine/pilas-engine/tarball/v2.8.19",
      "sha256": "2df0b2f71acafe6df196594f16b8a416a0de25e0fbfeaee51a7b31c80adc74d8",
      "archive-type": "tar-gzip",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/pilas-engine/pilas-engine/releases/latest",
       "version-query": ".tag_name\n",
       "url-query": ".tarball_url\n",
       "versions": {
        "<": "3.0.0"
       }
      }
     }
    ]
   },
   {
    "name": "wrapper",
    "buildsystem": "simple",
    "build-commands": [
     "install pilas-wrapper.sh /app/bin/pilas-engine"
    ],
    "sources": [
     {
      "type": "script",
      "dest-filename": "pilas-wrapper.sh",
      "commands": [
       "exec zypak-wrapper /app/pilas-engine/pilas-engine \\\"$@\\\""
      ]
     }
    ]
   },
   {
    "name": "pilas",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir --parents /app/pilas-engine",
     "if [ -d pilas-engine-linux-x64 ]; then mv --target-directory=/app/pilas-engine pilas-engine-linux-x64/*; fi",
     "if [ -d pilas-engine-linux-arm64 ]; then mv --target-directory=/app/pilas-engine pilas-engine-linux-arm64/*; fi"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/pilas-engine/pilas-engine/releases/download/v2.8.19/pilas-engine-linux-64_bits.zip",
      "sha256": "870eb3a713f7639de49b40d28e2ba44a69fe61b9c40689520fddf89358c85fe2",
      "only-arches": [
       "x86_64"
      ],
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/pilas-engine/pilas-engine/releases/latest",
       "version-query": ".tag_name\n",
       "url-query": ".assets[] | select(.name==\"pilas-engine-linux-64_bits.zip\") | .browser_download_url\n",
       "versions": {
        "<": "3.0.0"
       }
      }
     },
     {
      "type": "archive",
      "url": "https://github.com/pilas-engine/pilas-engine/releases/download/v2.8.19/pilas-engine-linux-arm64.zip",
      "sha256": "31f2130befe175e42c5d65e511cf910b74f225a8708009bd89f335defe7a7f26",
      "only-arches": [
       "aarch64"
      ],
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/pilas-engine/pilas-engine/releases/latest",
       "version-query": ".tag_name\n",
       "url-query": ".assets[] | select(.name==\"pilas-engine-linux-arm64.zip\") | .browser_download_url\n",
       "versions": {
        "<": "3.0.0"
       }
      }
     }
    ]
   }
  ]
 }
}