{
 "app_id": "com.github.alainm23.byte",
 "source_url": "https://raw.githubusercontent.com/flathub/com.github.alainm23.byte/master/com.github.alainm23.byte.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=home",
  "--talk-name=org.gtk.vfs.*"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:07:30.260198+00:00",
 "manifest": {
  "app-id": "com.github.alainm23.byte",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "base": "io.elementary.BaseApp",
  "base-version": "circe-25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.vala"
  ],
  "build-options": {
   "prepend-path": "/usr/lib/sdk/vala/bin/",
   "prepend-ld-library-path": "/usr/lib/sdk/vala/lib"
  },
  "command": "com.github.alainm23.byte",
  "finish-args": [
   "--device=dri",
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--filesystem=home",
   "--metadata=X-DConf=migrate-path=/com/github/alainm23/byte/",
   "--talk-name=org.gtk.vfs.*",
   "--socket=pulseaudio"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/man",
   "/share/doc",
   "/share/gtk-doc",
   "/share/man",
   "/share/pkgconfig",
   "/share/vala",
   "*.la",
   "*.a"
  ],
  "modules": [
   "shared-modules/libsoup/libsoup-2.4.json",
   {
    "name": "byte",
    "buildsystem": "meson",
    "build-options": {
     "config-opts": [
      "--buildtype=release"
     ]
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/alainm23/byte/archive/0.4.2.tar.gz",
      "sha256": "ea70db7a30f4a6bd4f252016f7cb8359d5b0c250a315ee5cce53e79bc0be055c"
     },
     {
      "type": "patch",
      "path": "appdata.patch"
     }
    ],
    "post-install": [
     "mkdir -p /app/share/icons/hicolor/scalable/apps",
     "mv /app/share/icons/hicolor/128x128@2/apps/${FLATPAK_ID}.svg /app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "find /app/share/icons/hicolor -type f -not -path \"*scalable*\" -not -path \"*actions*\" -name \"*.svg\" -delete"
    ]
   }
  ]
 }
}