{
 "app_id": "ai.dsrailab.codesign",
 "source_url": "https://raw.githubusercontent.com/dineshsrivastava07-cell/dsr-codesign/main/packaging/flatpak/ai.opencowork.codesign.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "23.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--share=network",
  "--device=dri",
  "--filesystem=home",
  "--filesystem=xdg-config/dsr-codesign:create",
  "--talk-name=org.freedesktop.Notifications"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T13:03:29.167156+00:00",
 "manifest": {
  "app-id": "ai.dsrailab.codesign",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "23.08",
  "sdk": "org.freedesktop.Sdk",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "23.08",
  "command": "dsr-codesign",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--share=network",
   "--device=dri",
   "--filesystem=home",
   "--filesystem=xdg-config/dsr-codesign:create",
   "--talk-name=org.freedesktop.Notifications"
  ],
  "modules": [
   {
    "name": "dsr-codesign",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 apply_extra /app/bin/apply_extra",
     "install -Dm755 dsr-codesign.sh /app/bin/dsr-codesign",
     "install -Dm644 ai.dsrailab.codesign.desktop /app/share/applications/ai.dsrailab.codesign.desktop",
     "install -Dm644 ai.dsrailab.codesign.png /app/share/icons/hicolor/512x512/apps/ai.dsrailab.codesign.png"
    ],
    "sources": [
     {
      "type": "extra-data",
      "filename": "dsr-codesign.AppImage",
      "url": "https://github.com/DSR-AI-Lab/dsr-codesign/releases/download/v0.2.0/dsr-codesign-0.2.0-x64.AppImage",
      "sha256": "5a8c9b82454559244d6b1db16f2e1f5250009d049a96c3f4735b0f253f2f210d",
      "size": 114028936
     },
     {
      "type": "script",
      "dest-filename": "apply_extra",
      "commands": [
       "chmod +x dsr-codesign.AppImage",
       "./dsr-codesign.AppImage --appimage-extract",
       "mv squashfs-root/* .",
       "rm dsr-codesign.AppImage"
      ]
     },
     {
      "type": "script",
      "dest-filename": "dsr-codesign.sh",
      "commands": [
       "exec zypak-wrapper /app/extra/dsr-codesign \"$@\""
      ]
     }
    ]
   }
  ]
 }
}