{
 "app_id": "io.ipfs.Desktop",
 "source_url": "https://raw.githubusercontent.com/outcrop-labs/omapak/main/apps/io.ipfs.Desktop/io.ipfs.Desktop.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--device=dri",
  "--share=network",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=com.canonical.Unity",
  "--talk-name=com.canonical.indicator.application",
  "--filesystem=xdg-download",
  "--filesystem=xdg-documents",
  "--filesystem=~/.ipfs:create",
  "--env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T17:34:27.196630+00:00",
 "manifest": {
  "app-id": "io.ipfs.Desktop",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "25.08",
  "command": "ipfs-desktop",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--device=dri",
   "--share=network",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=com.canonical.AppMenu.Registrar",
   "--talk-name=com.canonical.Unity",
   "--talk-name=com.canonical.indicator.application",
   "--filesystem=xdg-download",
   "--filesystem=xdg-documents",
   "--filesystem=~/.ipfs:create",
   "--env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons"
  ],
  "modules": [
   {
    "name": "ipfs-desktop",
    "buildsystem": "simple",
    "build-commands": [
     "ar x ipfs-desktop.deb",
     "tar -xf data.tar.xz",
     "mv \"opt/IPFS Desktop\" \"${FLATPAK_DEST}/ipfs-desktop\"",
     "install -Dm644 io.ipfs.Desktop.desktop \"${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop\"",
     "install -Dm644 io.ipfs.Desktop.png \"${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png\"",
     "install -Dm644 io.ipfs.Desktop.metainfo.xml \"${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml\"",
     "install -Dm755 ipfs-desktop.sh \"${FLATPAK_DEST}/bin/ipfs-desktop\"",
     "ln -sf \"${FLATPAK_DEST}/ipfs-desktop/resources/app.asar.unpacked/node_modules/kubo/kubo/ipfs\" \"${FLATPAK_DEST}/bin/ipfs\"",
     "patch-electron-desktop-filename \"${FLATPAK_DEST}/ipfs-desktop/resources/app.asar\""
    ],
    "sources": [
     {
      "type": "file",
      "only-arches": [
       "x86_64"
      ],
      "dest-filename": "ipfs-desktop.deb",
      "url": "https://github.com/ipfs/ipfs-desktop/releases/download/v0.50.0/ipfs-desktop-0.50.0-linux-amd64.deb",
      "sha256": "93332777997fba8d5011d3cd2a21a1d89ede8c4af752ff969ed6c671b0bc29c8",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/ipfs/ipfs-desktop/releases/latest",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "timestamp-query": ".published_at",
       "url-query": ".assets[] | select(.name | endswith(\"-linux-amd64.deb\")) | .browser_download_url"
      }
     },
     {
      "type": "file",
      "path": "io.ipfs.Desktop.desktop"
     },
     {
      "type": "file",
      "path": "io.ipfs.Desktop.png"
     },
     {
      "type": "file",
      "path": "io.ipfs.Desktop.metainfo.xml"
     },
     {
      "type": "file",
      "path": "ipfs-desktop.sh"
     }
    ]
   }
  ]
 }
}