{
 "app_id": "net.tabletopclub.TabletopClub",
 "source_url": "https://raw.githubusercontent.com/flathub/net.tabletopclub.TabletopClub/master/net.tabletopclub.TabletopClub.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=dri",
  "--filesystem=xdg-documents/TabletopClub:create"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:13:57.050721+00:00",
 "manifest": {
  "app-id": "net.tabletopclub.TabletopClub",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "tabletop-club-wrapper",
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--device=dri",
   "--socket=pulseaudio",
   "--share=network",
   "--filesystem=xdg-documents/TabletopClub:create"
  ],
  "modules": [
   {
    "name": "tabletop-club",
    "buildsystem": "simple",
    "build-commands": [
     "install -D -m 755 -p $(if [ -f TabletopClub.x86_64 ]; then echo \"TabletopClub.x86_64\"; else echo \"TabletopClub.arm64\"; fi) /app/bin/tabletop-club",
     "install -D -m 644 -p -t /app/lib/ $(if [ -f libwebrtc_native.linux.template_release.x86_64.so ]; then echo \"libwebrtc_native.linux.template_release.x86_64.so\"; else echo \"libwebrtc_native.linux.template_release.arm64.so\"; fi)",
     "install -D -m 755 -p tabletop-club-wrapper.sh /app/bin/tabletop-club-wrapper",
     "install -D -m 644 -p -t /app/share/TabletopClub/ TabletopClub.pck",
     "mv assets/ /app/share/TabletopClub/",
     "install -D -m 644 -p tabletop_club_icon.png /app/share/icons/hicolor/256x256/apps/$FLATPAK_ID.png",
     "install -D -m 644 -p -t /app/share/metainfo/ $FLATPAK_ID.metainfo.xml",
     "install -D -m 644 -p -t /app/share/applications/ $FLATPAK_ID.desktop"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/drwhut/tabletop-club/releases/download/v0.1.5/TabletopClub_v0.1.5_Linux_64.zip",
      "sha512": "7ec63d0e8490a006f3c9d8f6b17ad32faa2fc7c592a074c374667eee026c36e716e59eac30f76f57d9d2fc7dee8d4cfd3726d917a3befd29104ffb570926b03f",
      "only-arches": [
       "x86_64"
      ],
      "strip-components": 0
     },
     {
      "type": "archive",
      "url": "https://github.com/drwhut/tabletop-club/releases/download/v0.1.5/TabletopClub_v0.1.5_Linux_ARM64.zip",
      "sha512": "bd6d65205f18526852077822383dcd32ceaaacddd5d586b3c8f77676cae2f9abc34752ceea48ea371955ab9d66352c050a2709c1187833b06a359d2ba49c9c3f",
      "only-arches": [
       "aarch64"
      ],
      "strip-components": 0
     },
     {
      "type": "file",
      "path": "tabletop-club-wrapper.sh"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/drwhut/tabletop-club/7bae26d7db0e65d843e009af3b9b4f00b16923de/game/tabletop_club_icon.png",
      "sha512": "85176d840093ff9dc4782067c1f30ea5b512406a6ab7b7c76a0ee010fbb7c34771bffdfbe30665192ed685769883a67ef460116f20da0f1b56f270b6e5ab2e4e"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/drwhut/tabletop-club/a4fb379b0f4af1f066bf378bd652d8be90d64e32/misc/flatpak/net.tabletopclub.TabletopClub.metainfo.xml",
      "sha512": "8db88aed4c1d290949f05ac6e3393e8493d27c1cf4385602ee012778609b47e7f05afd6e88bc8c01c9d72d0471564192041c68f38ace8d7fe4547b73a7ca2555"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/drwhut/tabletop-club/a4fb379b0f4af1f066bf378bd652d8be90d64e32/misc/flatpak/net.tabletopclub.TabletopClub.desktop",
      "sha512": "8c01959fb1354304dff9e6c903fd7bbff482c27ae277fa580adbdbc4d738298ae59d300e594bdc4e007410af499d8b4434005b9c4bd9603ac1e195f72c5e8593"
     }
    ]
   }
  ]
 }
}