{
 "app_id": "org.equicord.equibop",
 "source_url": "https://raw.githubusercontent.com/flathub/org.equicord.equibop/master/org.equicord.equibop.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all",
  "--filesystem=xdg-download",
  "--filesystem=xdg-pictures:ro",
  "--filesystem=xdg-videos:ro",
  "--filesystem=xdg-run/pipewire-0:ro",
  "--filesystem=xdg-run/speech-dispatcher:ro",
  "--filesystem=~/.steam",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=com.canonical.AppMenu.Registrar"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:14:31.411404+00:00",
 "manifest": {
  "app-id": "org.equicord.equibop",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "25.08",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.node20"
  ],
  "command": "startequibop",
  "separate-locales": false,
  "finish-args": [
   "--socket=pulseaudio",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--share=ipc",
   "--share=network",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=com.canonical.AppMenu.Registrar",
   "--device=all",
   "--filesystem=xdg-videos:ro",
   "--filesystem=xdg-pictures:ro",
   "--filesystem=xdg-download",
   "--filesystem=xdg-run/pipewire-0:ro",
   "--filesystem=xdg-run/speech-dispatcher:ro",
   "--filesystem=~/.steam",
   "--env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons"
  ],
  "modules": [
   {
    "name": "Equibop",
    "buildsystem": "simple",
    "build-options": {
     "strip": false,
     "no-debuginfo": true
    },
    "build-commands": [
     "tar xzf node_modules.tar.gz",
     "bun-build/bun run build",
     "export PATH=\"$PWD/bun-build:$PATH\" && . /usr/lib/sdk/node20/enable.sh && node_modules/.bin/electron-builder --dir --linux dir --config.electronDist=node_modules/electron/dist",
     "if [ -d 'dist/linux-unpacked' ]; then\n  DIST_DIR='dist/linux-unpacked'\nelif [ -d 'dist/linux-arm64-unpacked' ]; then\n  DIST_DIR='dist/linux-arm64-unpacked'\nelse\n  echo 'Error: Could not find unpacked directory'\n  exit 1\nfi\n\nif [ \"$FLATPAK_ARCH\" = 'x86_64' ]; then\n    install -Dm755 arrpc-bun-linux-x64 /app/bin/arrpc-bun\nelif [ \"$FLATPAK_ARCH\" = 'aarch64' ]; then\n    install -Dm755 arrpc-bun-linux-arm64 /app/bin/arrpc-bun\nfi\n\ninstall -Dm644 build/icon.svg /app/share/icons/hicolor/scalable/apps/org.equicord.equibop.svg\n\ndesktop-file-edit --set-key=Exec --set-value='startequibop %U' build/org.equicord.equibop.desktop\ninstall -Dm644 build/org.equicord.equibop.desktop /app/share/applications/org.equicord.equibop.desktop\ninstall -Dm755 startequibop /app/bin/startequibop\ninstall -D org.equicord.equibop.metainfo.xml -t /app/share/metainfo/\n\ncp --reflink=auto -r \"$DIST_DIR\" /app/bin/equibop\n"
    ],
    "sources": [
     {
      "type": "file",
      "path": "startequibop"
     },
     {
      "type": "archive",
      "url": "https://api.github.com/repos/Equicord/Equibop/tarball/v3.3.1",
      "dest-filename": "equibop-v3.1.9.tar.gz",
      "sha512": "7304e260450904a7cee311e7b0f0d0a79fe6397b6015bd6ac36ab6d676c946aba48c439cfbbe820b208841d6ec0cd8d3c6d4af246eadc5100cdba5be15afec27",
      "strip-components": 1,
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/Equicord/Equibop/releases/latest",
       "version-query": ".tag_name | sub(\"v\"; \"\")",
       "url-query": ".tarball_url",
       "is-main-source": true
      }
     },
     {
      "type": "file",
      "url": "https://github.com/Equicord/Equibop/releases/download/v3.3.1/node_modules-x64.tar.gz",
      "dest-filename": "node_modules.tar.gz",
      "sha512": "dcf0f45622fc41922441d0eae268efb24a8788392c376f55b7ae09b1203ca1c88cc0f60dca9d679bec81266322ffa3879895d0115ce848296083ca00401da15d",
      "only-arches": [
       "x86_64"
      ],
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/Equicord/Equibop/releases/latest",
       "version-query": ".tag_name | sub(\"v\"; \"\")",
       "url-query": ".assets[] | select(.name == \"node_modules-x64.tar.gz\") | .browser_download_url"
      }
     },
     {
      "type": "file",
      "url": "https://github.com/Equicord/Equibop/releases/download/v3.3.1/node_modules-arm64.tar.gz",
      "dest-filename": "node_modules.tar.gz",
      "sha512": "843a85179e97b21093b73e6d0d3db715b1b2dd00f32e13fb72c54e7c9bab76d97236107c35601947258dca849a780ba8bb00bbb5843552e10f69c3930dcb1078",
      "only-arches": [
       "aarch64"
      ],
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/Equicord/Equibop/releases/latest",
       "version-query": ".tag_name | sub(\"v\"; \"\")",
       "url-query": ".assets[] | select(.name == \"node_modules-arm64.tar.gz\") | .browser_download_url"
      }
     },
     {
      "type": "archive",
      "url": "https://github.com/electron/electron/releases/download/v40.0.0/electron-v40.0.0-linux-x64.zip",
      "sha512": "016b10ab8b813fd1cdd78a853db92efd9f7f893f3f03efb2b8f5bde0834640660e0487df6d19b417ea098a59b1ff2256fd71ac9a3c2cdb7b3768fb65a094b8ea",
      "dest": "node_modules/electron/dist",
      "only-arches": [
       "x86_64"
      ]
     },
     {
      "type": "archive",
      "url": "https://github.com/electron/electron/releases/download/v40.0.0/electron-v40.0.0-linux-arm64.zip",
      "sha512": "9f31569598764d94463d543f91f45978f2da3a7d1a42a937059edc8744e47ab1bc5ed86c0303100754b55c0ca379e6a184df0431c54eb0a4156cf4f32428573a",
      "dest": "node_modules/electron/dist",
      "only-arches": [
       "aarch64"
      ]
     },
     {
      "type": "archive",
      "url": "https://github.com/oven-sh/bun/releases/download/bun-v1.4.2/bun-linux-x64.zip",
      "sha512": "689e3f339b13c252189b7d3943755f95bdb31e4d4abb4d7aa89a5f8fef02aada09a378ea994a73076648b75d546d319b2628287f49c879cfd62e4e4aab9f3d84",
      "dest": "bun-build",
      "only-arches": [
       "x86_64"
      ],
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/oven-sh/bun/releases/latest",
       "version-query": ".tag_name | sub(\"bun-v\"; \"\")",
       "url-query": ".assets[] | select(.name == \"bun-linux-x64.zip\") | .browser_download_url"
      }
     },
     {
      "type": "archive",
      "url": "https://github.com/oven-sh/bun/releases/download/bun-v1.4.2/bun-linux-aarch64.zip",
      "sha512": "793d42842b54a6e9e6a9a4f01ec955cef4bfde3096ccb568fce4d3cee916f9d4699896915a866a11d3bc1ec4b7274876ec5a1479a24ad4fc2a4f36c83d25cd45",
      "dest": "bun-build",
      "only-arches": [
       "aarch64"
      ],
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/oven-sh/bun/releases/latest",
       "version-query": ".tag_name | sub(\"bun-v\"; \"\")",
       "url-query": ".assets[] | select(.name == \"bun-linux-aarch64.zip\") | .browser_download_url"
      }
     },
     {
      "type": "file",
      "url": "https://github.com/Creationsss/arrpc-bun/releases/download/v1.3.4/arrpc-bun-linux-x64",
      "sha512": "f7fdd50cb339f57d86a87e4b99c576e38f3ec4d98be74e40a50876ca43451955993f4c2ed2c7a4cd0b91dd263c450a38e97f336974a430c3614b049e26aee80e",
      "dest-filename": "arrpc-bun-linux-x64",
      "only-arches": [
       "x86_64"
      ]
     },
     {
      "type": "file",
      "url": "https://github.com/Creationsss/arrpc-bun/releases/download/v1.3.4/arrpc-bun-linux-arm64",
      "sha512": "19da5dc3d7da68044f03714de3176a36683ed817d2a3c67d47d373e8911bf5f9162ad49cedfaca7c6137f027c418a410e1e5d636ff803340ea74aa07aa9515bf",
      "dest-filename": "arrpc-bun-linux-arm64",
      "only-arches": [
       "aarch64"
      ]
     },
     {
      "type": "file",
      "url": "https://github.com/Equicord/Equibop/releases/download/v3.3.1/org.equicord.equibop.metainfo.xml",
      "sha512": "22522419884f08f4025d4eb36e9a66a8611560591facfe71e7ee5744ad04fb81b505cd3a493db7bba2811d21347e6fe157463232cb8c46606ae49794683237ec",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/Equicord/Equibop/releases/latest",
       "version-query": ".tag_name | sub(\"v\"; \"\")",
       "url-query": ".assets[] | select(.name == \"org.equicord.equibop.metainfo.xml\") | .browser_download_url"
      }
     }
    ]
   }
  ]
 }
}