{
 "app_id": "ai.opencowork.codesign",
 "source_url": "https://raw.githubusercontent.com/OpenCoworkAI/open-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/open-codesign:create",
  "--talk-name=org.freedesktop.Notifications"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T13:02:26.331630+00:00",
 "manifest": {
  "app-id": "ai.opencowork.codesign",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "23.08",
  "sdk": "org.freedesktop.Sdk",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "23.08",
  "command": "open-codesign",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--share=network",
   "--device=dri",
   "--filesystem=home",
   "--filesystem=xdg-config/open-codesign:create",
   "--talk-name=org.freedesktop.Notifications"
  ],
  "modules": [
   {
    "name": "open-codesign",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 apply_extra /app/bin/apply_extra",
     "install -Dm755 open-codesign.sh /app/bin/open-codesign",
     "install -Dm644 ai.opencowork.codesign.desktop /app/share/applications/ai.opencowork.codesign.desktop",
     "install -Dm644 ai.opencowork.codesign.png /app/share/icons/hicolor/512x512/apps/ai.opencowork.codesign.png"
    ],
    "sources": [
     {
      "type": "extra-data",
      "filename": "open-codesign.AppImage",
      "url": "https://github.com/OpenCoworkAI/open-codesign/releases/download/v0.2.2/open-codesign-0.2.2-x64.AppImage",
      "sha256": "5399bbd3ea850d88a68de2f67f2a85ff9f00dd5f5013ed2bd7197cbf90a0b1ed",
      "size": 114447710
     },
     {
      "type": "script",
      "dest-filename": "apply_extra",
      "commands": [
       "chmod +x open-codesign.AppImage",
       "./open-codesign.AppImage --appimage-extract",
       "mv squashfs-root/* .",
       "rm open-codesign.AppImage"
      ]
     },
     {
      "type": "script",
      "dest-filename": "open-codesign.sh",
      "commands": [
       "exec zypak-wrapper /app/extra/open-codesign \"$@\""
      ]
     }
    ]
   }
  ]
 }
}