{
 "app_id": "io.github.mall0r.Twinverse",
 "source_url": "https://raw.githubusercontent.com/mall0r/Twinverse/main/io.github.mall0r.Twinverse.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--device=dri",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--share=ipc",
  "--device=all",
  "--talk-name=org.freedesktop.Flatpak",
  "--talk-name=org.kde.KWin",
  "--talk-name=org.kde.plasmashell",
  "--filesystem=~/.local/share/Steam/steamapps:ro",
  "--filesystem=~/.local/share/Steam/compatibilitytools.d:ro"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-20T13:05:19.553358+00:00",
 "manifest": {
  "app-id": "io.github.mall0r.Twinverse",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "twinverse",
  "finish-args": [
   "--device=dri",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--share=ipc",
   "--device=all",
   "--talk-name=org.freedesktop.Flatpak",
   "--talk-name=org.kde.KWin",
   "--talk-name=org.kde.plasmashell",
   "--filesystem=~/.local/share/Steam/steamapps:ro",
   "--filesystem=~/.local/share/Steam/compatibilitytools.d:ro"
  ],
  "cleanup": [
   "*.a",
   "*.la",
   "/man",
   "/include",
   "/lib/pkgconfig",
   "/share/aclocal",
   "/share/man",
   "/share/doc",
   "/share/info",
   "/share/gtk-doc",
   "/libexec"
  ],
  "modules": [
   "flatpak/python-modules.json",
   {
    "name": "twinverse",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/lib/twinverse",
     "cp -r src /app/lib/twinverse/",
     "cp -r res /app/lib/twinverse/",
     "cp twinverse.py /app/lib/twinverse/",
     "cp version /app/lib/twinverse/",
     "mkdir -p /app/bin",
     "cat > /app/bin/twinverse << 'WRAPPER_EOF'\n#!/bin/bash\nexec python3 /app/lib/twinverse/twinverse.py \"$@\"\nWRAPPER_EOF\n",
     "chmod +x /app/bin/twinverse",
     "install -Dm644 share/applications/io.github.mall0r.Twinverse.desktop /app/share/applications/io.github.mall0r.Twinverse.desktop",
     "install -Dm644 share/icons/hicolor/scalable/apps/io.github.mall0r.Twinverse.svg /app/share/icons/hicolor/scalable/apps/io.github.mall0r.Twinverse.svg",
     "desktop-file-edit --set-key=Icon --set-value=io.github.mall0r.Twinverse /app/share/applications/io.github.mall0r.Twinverse.desktop",
     "desktop-file-edit --set-key=Exec --set-value=twinverse /app/share/applications/io.github.mall0r.Twinverse.desktop",
     "install -Dm644 share/metainfo/io.github.mall0r.Twinverse.metainfo.xml /app/share/metainfo/io.github.mall0r.Twinverse.metainfo.xml"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "."
     }
    ]
   }
  ]
 }
}