{
 "app_id": "io.github.mlm_games.free-the-bugs",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.mlm_games.free-the-bugs/master/io.github.mlm_games.free-the-bugs.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:11:41.197770+00:00",
 "manifest": {
  "id": "io.github.mlm_games.free-the-bugs",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "base": "org.godotengine.godot.BaseApp",
  "base-version": "4.5",
  "command": "free-the-bugs",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--socket=pulseaudio"
  ],
  "modules": [
   {
    "name": "free-the-bugs",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mlm-games/free-the-bugs/releases/download/0.6.4/web.zip",
      "sha256": "16545150a8523a35a5a0c17093b5756dae0bcdf4c3e620991e7d83a3dd1bc0b6",
      "dest": "web",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/mlm-games/free-the-bugs/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/free-the-bugs.git",
      "tag": "0.6.4",
      "commit": "67903fb0dd613c9fc152f393ca53dec0fe65e369",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$"
      }
     }
    ],
    "build-commands": [
     "install -Dm644 web/index.pck /app/bin/godot-runner.pck",
     "ln -s godot-runner ${FLATPAK_DEST}/bin/free-the-bugs",
     "install -Dm644 assets/art/bulb.svg /app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "install -Dm644 others/flathub/${FLATPAK_ID}.desktop /app/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 others/flathub/${FLATPAK_ID}.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml"
    ]
   }
  ]
 }
}