{
 "app_id": "io.gdevelop.ide",
 "source_url": "https://raw.githubusercontent.com/flathub/io.gdevelop.ide/master/io.gdevelop.ide.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--socket=x11",
  "--device=all",
  "--filesystem=home",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.gtk.Notifications"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:10:14.746953+00:00",
 "manifest": {
  "app-id": "io.gdevelop.ide",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "24.08",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "run.sh",
  "separate-locales": false,
  "rename-desktop-file": "gdevelop.desktop",
  "rename-icon": "gdevelop",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=x11",
   "--socket=pulseaudio",
   "--share=network",
   "--device=all",
   "--filesystem=home",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.gtk.Notifications"
  ],
  "modules": [
   {
    "name": "gdevelop-ide",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "file",
      "url": "https://gdevelop-releases.s3.amazonaws.com/master/commit/7a7736a3a4ab5ec2f9ea7bde3479877467afa8c1/gdevelop_5.6.282_amd64.deb",
      "sha256": "5a824829b83dff3d366b8f45dcb5ceff9bb5ad5d9fcd32efaad42c5e7362d0b8",
      "only-arches": [
       "x86_64"
      ],
      "x-checker-data": {
       "is-main-source": true,
       "type": "json",
       "url": "https://api.github.com/repos/4ian/GDevelop/tags",
       "version-query": ".[0].name | sub(\"^v\"; \"\")",
       "url-query": ".[0] | \"https://gdevelop-releases.s3.amazonaws.com/master/commit/\" + .commit.sha + \"/gdevelop_\" + (.name| sub(\"^v\"; \"\")) + \"_amd64.deb\"\n"
      }
     },
     {
      "type": "file",
      "url": "https://gdevelop-releases.s3.amazonaws.com/master/commit/7a7736a3a4ab5ec2f9ea7bde3479877467afa8c1/gdevelop_5.6.282_arm64.deb",
      "sha256": "30784086f2a67fefe4cd55ea33f45f7aebc4f0b798ed92c2d82fd6d1280bd4bc",
      "only-arches": [
       "aarch64"
      ],
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/4ian/GDevelop/tags",
       "version-query": ".[0].name | sub(\"^v\"; \"\")",
       "url-query": ".[0] | \"https://gdevelop-releases.s3.amazonaws.com/master/commit/\" + .commit.sha + \"/gdevelop_\" + (.name| sub(\"^v\"; \"\")) + \"_arm64.deb\"\n"
      }
     },
     {
      "type": "file",
      "path": "io.gdevelop.ide.appdata.xml"
     },
     {
      "type": "script",
      "dest-filename": "run.sh",
      "commands": [
       "zypak-wrapper.sh \"/app/GDevelop/gdevelop\" \"$@\""
      ]
     }
    ],
    "build-commands": [
     "ar x gdevelop_*.deb",
     "tar -xf data.tar.xz",
     "cp -r ./opt/* /app/",
     "cp -r ./usr/share/* /app/share/",
     "mv \"/app/GDevelop 5\" \"/app/GDevelop\"",
     "ln -s \"/app/GDevelop/gdevelop\" /app/bin",
     "install -Dm644 io.gdevelop.ide.appdata.xml -t /app/share/metainfo",
     "desktop-file-edit --set-key Exec --set-value \"run.sh %U\" ${FLATPAK_DEST}/share/applications/gdevelop.desktop",
     "rm -rf ${FLATPAK_DEST}/share/icons/hicolor/1024x1024/",
     "install -Dm755 -t /app/bin/ run.sh"
    ]
   }
  ]
 }
}