{
 "app_id": "com.actualbudget.actual",
 "source_url": "https://raw.githubusercontent.com/flathub/com.actualbudget.actual/master/com.actualbudget.actual.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",
  "--filesystem=xdg-documents"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:06:47.361806+00:00",
 "manifest": {
  "id": "com.actualbudget.actual",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "25.08",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "separate-locales": false,
  "command": "actual",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.node22"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/node22/bin"
  },
  "finish-args": [
   "--share=ipc",
   "--device=dri",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--filesystem=xdg-documents"
  ],
  "modules": [
   {
    "name": "wrapper",
    "buildsystem": "simple",
    "build-commands": [
     "install actual-wrapper.sh /app/bin/actual"
    ],
    "sources": [
     {
      "type": "script",
      "dest-filename": "actual-wrapper.sh",
      "commands": [
       "exec zypak-wrapper /app/main/actual \"$@\""
      ]
     }
    ]
   },
   {
    "name": "actual",
    "buildsystem": "simple",
    "build-commands": [
     "chmod +x ./Actual.AppImage",
     "./Actual.AppImage --appimage-extract",
     "mkdir -p /app/main",
     "cp -R squashfs-root/. /app/main",
     "desktop-file-edit --set-icon ${FLATPAK_ID} --set-key Exec --set-value 'actual %u' /app/main/actual.desktop",
     "install -Dm644 /app/main/actual.desktop /app/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 /app/main/usr/share/icons/hicolor/512x512/apps/actual.png /app/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png",
     "install -Dm644 /app/main/resources/extra-resources/linux/${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo/"
    ],
    "sources": [
     {
      "type": "file",
      "dest-filename": "Actual.AppImage",
      "url": "https://github.com/actualbudget/actual/releases/download/v26.9.0/Actual-linux-x86_64.AppImage",
      "sha256": "fb3e5dbe756bfa614be3d0714c182ac9af977d77749d105535f7068aeeb38171",
      "only-arches": [
       "x86_64"
      ]
     },
     {
      "type": "file",
      "dest-filename": "Actual.AppImage",
      "url": "https://github.com/actualbudget/actual/releases/download/v26.9.0/Actual-linux-arm64.AppImage",
      "sha256": "5375f889ec614665f54a029fa8c7537e511d90a67398fb6e0c3ec8b0b66c86d3",
      "only-arches": [
       "aarch64"
      ]
     }
    ]
   }
  ]
 }
}