{
 "app_id": "io.github.mlm_games.imagot",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.mlm_games.imagot/master/io.github.mlm_games.imagot.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:11:41.197770+00:00",
 "manifest": {
  "app-id": "io.github.mlm_games.imagot",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "base": "org.godotengine.godot.BaseApp",
  "base-version": "4.5",
  "sdk": "org.freedesktop.Sdk",
  "command": "imagot",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri"
  ],
  "modules": [
   {
    "name": "Imagot",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mlm-games/imagot/releases/download/0.2.18/web.zip",
      "sha256": "f143bfd205833e3b807e4d1795b9ba6f4dc221b783a4fa2050c6d81c3a85b610",
      "dest": "web",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/mlm-games/imagot/releases/latest",
       "is-main-source": true,
       "version-query": ".tag_name",
       "url-query": ".assets[]\n| select(.name | endswith(\"web.zip\"))\n| .browser_download_url\n"
      }
     },
     {
      "type": "git",
      "url": "https://github.com/mlm-games/imagot.git",
      "tag": "0.2.18",
      "commit": "73c5cf1edc853d9f475e931f36bf88d06532c8ac",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$"
      }
     }
    ],
    "build-commands": [
     "install -Dm644 web/index.pck ${FLATPAK_DEST}/bin/godot-runner.pck",
     "ln -s godot-runner ${FLATPAK_DEST}/bin/imagot",
     "install -Dm644 icon.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "install -Dm644 flathub/${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 flathub/${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml"
    ]
   }
  ]
 }
}