{
 "app_id": "io.github.spacingbat3.webcord",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.spacingbat3.webcord/master/io.github.spacingbat3.webcord.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",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.freedesktop.secrets"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:12:16.794104+00:00",
 "manifest": {
  "app-id": "io.github.spacingbat3.webcord",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "run.sh",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--share=network",
   "--device=all",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.freedesktop.secrets",
   "--env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons"
  ],
  "modules": [
   {
    "name": "webcord",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "file",
      "url": "https://github.com/SpacingBat3/WebCord/releases/download/v4.14.0/WebCord-4.14.0-x64.AppImage",
      "sha256": "66dc29174f608a216b04a035ed036d9ec24d06bdd472eca5c5aace747b77311c",
      "only-arches": [
       "x86_64"
      ]
     },
     {
      "type": "file",
      "url": "https://github.com/SpacingBat3/WebCord/releases/download/v4.14.0/WebCord-4.14.0-arm64.AppImage",
      "sha256": "f59918d34027f3e8bcfa2689ea41afca3313cbd860a2e01a0b5c8f5e6b2e7f3c",
      "only-arches": [
       "aarch64"
      ]
     },
     {
      "type": "file",
      "dest-filename": "run.sh",
      "path": "./vitamins/run.sh"
     },
     {
      "type": "file",
      "path": "./vitamins/io.github.spacingbat3.webcord.desktop"
     },
     {
      "type": "file",
      "path": "./vitamins/io.github.spacingbat3.webcord.metainfo.xml"
     },
     {
      "type": "file",
      "path": "./vitamins/icon48.png"
     },
     {
      "type": "file",
      "path": "./vitamins/icon128.png"
     },
     {
      "type": "file",
      "path": "./vitamins/icon256.png"
     }
    ],
    "build-commands": [
     "install -Dm775 run.sh /app/bin/run.sh",
     "install -D io.github.spacingbat3.webcord.desktop  -t /app/share/applications/",
     "install -D io.github.spacingbat3.webcord.metainfo.xml -t  /app/share/metainfo/",
     "install -D icon48.png /app/share/icons/hicolor/48x48/apps/io.github.spacingbat3.webcord.png",
     "install -D icon128.png /app/share/icons/hicolor/128x128/apps/io.github.spacingbat3.webcord.png",
     "install -D icon256.png /app/share/icons/hicolor/256x256/apps/io.github.spacingbat3.webcord.png",
     "chmod +x WebCord-*.AppImage",
     "./WebCord-*.AppImage --appimage-extract",
     "mv squashfs-root/usr/lib/webcord /app/bin/webcord"
    ]
   }
  ]
 }
}