{
 "app_id": "com.inulute.aigate",
 "source_url": "https://raw.githubusercontent.com/outcrop-labs/omapak/main/apps/com.inulute.aigate/com.inulute.aigate.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-download",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--system-talk-name=org.freedesktop.login1",
  "--env=ELECTRON_OZONE_PLATFORM_HINT=auto"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T17:34:27.196623+00:00",
 "manifest": {
  "app-id": "com.inulute.aigate",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "24.08",
  "command": "ai-gate",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=x11",
   "--socket=wayland",
   "--device=dri",
   "--filesystem=xdg-download",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=com.canonical.AppMenu.Registrar",
   "--system-talk-name=org.freedesktop.login1",
   "--env=ELECTRON_OZONE_PLATFORM_HINT=auto"
  ],
  "modules": [
   {
    "name": "ai-gate",
    "buildsystem": "simple",
    "build-commands": [
     "install -dm755 /app/ai-gate",
     "cp -r . /app/ai-gate",
     "install -Dm755 ai-gate.sh /app/bin/ai-gate",
     "install -Dm644 com.inulute.aigate.desktop /app/share/applications/com.inulute.aigate.desktop",
     "install -Dm644 com.inulute.aigate.metainfo.xml /app/share/metainfo/com.inulute.aigate.metainfo.xml",
     "install -Dm644 com.inulute.aigate.512.png /app/share/icons/hicolor/512x512/apps/com.inulute.aigate.png"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/inulute/ai-gate/releases/download/v4.5.0/AI.Gate-4.5.0.zip",
      "sha256": "53751289ad54b477404ad48342f67a47bf179f1453c2222062820ffe1dae03da",
      "strip-components": 0
     },
     {
      "type": "script",
      "dest-filename": "ai-gate.sh",
      "commands": [
       "export TMPDIR=\"${XDG_RUNTIME_DIR}/app/${FLATPAK_ID}\"",
       "exec /app/ai-gate/ai-gate --no-sandbox \"$@\""
      ]
     },
     {
      "type": "file",
      "path": "com.inulute.aigate.desktop"
     },
     {
      "type": "file",
      "path": "com.inulute.aigate.metainfo.xml"
     },
     {
      "type": "file",
      "path": "com.inulute.aigate.512.png"
     }
    ]
   }
  ]
 }
}