{
 "app_id": "com.rabbit_company.passky",
 "source_url": "https://raw.githubusercontent.com/flathub/com.rabbit_company.passky/master/com.rabbit_company.passky.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=xdg-documents",
  "--filesystem=xdg-download"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:08:38.734254+00:00",
 "manifest": {
  "app-id": "com.rabbit_company.passky",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "25.08",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.node24"
  ],
  "command": "run.sh",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=network",
   "--device=dri",
   "--filesystem=xdg-documents",
   "--filesystem=xdg-download"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/node24/bin",
   "env": {
    "NPM_CONFIG_LOGLEVEL": "info"
   }
  },
  "modules": [
   {
    "name": "passky",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "XDG_CACHE_HOME": "/run/build/passky/flatpak-node/cache",
      "npm_config_cache": "/run/build/passky/flatpak-node/npm-cache",
      "npm_config_nodedir": "/usr/lib/sdk/node24",
      "npm_config_offline": "true"
     }
    },
    "subdir": "main",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Rabbit-Company/Passky-Desktop/archive/v8.1.3.tar.gz",
      "sha256": "2c6034188f8368ee1d39b3884360e0579b636d44e5b2e6027abb6398ba0d49dc",
      "dest": "main"
     },
     "generated-sources.json",
     {
      "type": "file",
      "path": "com.rabbit_company.passky.metainfo.xml"
     },
     {
      "type": "file",
      "path": "com.rabbit_company.passky.desktop"
     },
     {
      "type": "file",
      "path": "com.rabbit_company.passky.svg"
     },
     {
      "type": "file",
      "path": "com.rabbit_company.passky.png"
     },
     {
      "type": "script",
      "dest-filename": "run.sh",
      "commands": [
       "zypak-wrapper.sh /app/main/passky \"$@\""
      ]
     }
    ],
    "build-commands": [
     "jq '.build.linux.target=\"dir\"' <<<$(<package.json) > package.json",
     "HOME=$PWD yarn config --offline set yarn-offline-mirror $FLATPAK_BUILDER_BUILDDIR/flatpak-node/yarn-mirror",
     "yarn install --offline",
     "yarn run build",
     "cp -a dist/linux*unpacked /app/main",
     "install -Dm755 -t /app/bin/ ../run.sh",
     "install -D -m644 -t /app/share/applications ../com.rabbit_company.passky.desktop",
     "install -D -m644 -t /app/share/icons/hicolor/128x128/apps ../com.rabbit_company.passky.png",
     "install -D -m644 -t /app/share/icons/hicolor/scalable/apps ../com.rabbit_company.passky.svg",
     "install -D -m644 -t /app/share/metainfo ../com.rabbit_company.passky.metainfo.xml"
    ]
   }
  ]
 }
}