{
 "app_id": "com.github.ransome1.sleek",
 "source_url": "https://raw.githubusercontent.com/flathub/com.github.ransome1.sleek/master/com.github.ransome1.sleek.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.freedesktop.FileChooser"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:07:50.049304+00:00",
 "manifest": {
  "app-id": "com.github.ransome1.sleek",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "25.08",
  "command": "sleek",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--share=network",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.freedesktop.FileChooser",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons"
  ],
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.node20"
  ],
  "modules": [
   {
    "name": "sleek",
    "buildsystem": "simple",
    "build-commands": [
     "ar x com.github.ransome1.sleek.deb",
     "tar -xf data.tar.* -C /app",
     "find /app/opt/sleek/ -exec chmod -R a-s,go+rX,go-w {} \\;",
     "install -Dm755 sleek-entrypoint.sh /app/bin/sleek",
     "install -Dm644 ./build/128x128.png /app/share/icons/hicolor/128x128/apps/com.github.ransome1.sleek.png",
     "install -Dm644 ./build/256x256.png /app/share/icons/hicolor/256x256/apps/com.github.ransome1.sleek.png",
     "install -Dm644 ./build/512x512.png /app/share/icons/hicolor/512x512/apps/com.github.ransome1.sleek.png",
     "install -Dm644 flatpak/com.github.ransome1.sleek.desktop /app/share/applications/com.github.ransome1.sleek.desktop",
     "install -Dm644 flatpak/com.github.ransome1.sleek.appdata.xml /app/share/metainfo/com.github.ransome1.sleek.appdata.xml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ransome1/sleek.git",
      "commit": "c85e96e0fe73792680dd7fe49e72ae0dfed580fa"
     },
     {
      "type": "script",
      "dest-filename": "sleek-entrypoint.sh",
      "commands": [
       "#!/bin/bash\nexport TMPDIR=\"${XDG_CACHE_HOME:-/tmp}\"\nif [ -n \"$WAYLAND_DISPLAY\" ] && [ \"$XDG_SESSION_TYPE\" = \"wayland\" ]; then\n  exec zypak-wrapper /app/opt/sleek/sleek --ozone-platform=wayland \"$@\"\nelse\n  exec zypak-wrapper /app/opt/sleek/sleek \"$@\"\nfi\n"
      ]
     },
     {
      "type": "file",
      "dest-filename": "com.github.ransome1.sleek.deb",
      "url": "https://github.com/ransome1/sleek/releases/download/v2.0.27/sleek-2.0.27-linux-arm64.deb",
      "sha256": "0b515f48b08b8a136c29867ccb64dd8d203a2947f70c171f33c12c76b334d4f7",
      "only-arches": [
       "aarch64"
      ]
     },
     {
      "type": "file",
      "dest-filename": "com.github.ransome1.sleek.deb",
      "url": "https://github.com/ransome1/sleek/releases/download/v2.0.27/sleek-2.0.27-linux-amd64.deb",
      "sha256": "56a882974641c57324891590825cd918052664cdb9b2a75c6117332d623403b2",
      "only-arches": [
       "x86_64"
      ]
     }
    ]
   }
  ]
 }
}