{
 "app_id": "me.acristoffers.Lachesis",
 "source_url": "https://raw.githubusercontent.com/flathub/me.acristoffers.Lachesis/master/me.acristoffers.Lachesis.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:13:06.631026+00:00",
 "manifest": {
  "app-id": "me.acristoffers.Lachesis",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "24.08",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.node22"
  ],
  "command": "lachesis",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=network",
   "--device=dri"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/node22/bin",
   "env": {
    "YARN_LOGLEVEL": "info",
    "TURBO_TELEMETRY_DISABLED": "1"
   }
  },
  "modules": [
   {
    "name": "lachesis",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "XDG_CACHE_HOME": "/run/build/lachesis/flatpak-node/cache",
      "npm_config_cache": "/run/build/lachesis/flatpak-node/npm-cache",
      "npm_config_nodedir": "/usr/lib/sdk/node22",
      "npm_config_offline": "true"
     }
    },
    "build-commands": [
     "bash build-flatpak.sh",
     "cp -a desktop/dist/linux*unpacked ${FLATPAK_DEST}/main",
     "install -Dm644 src/icons/icon.iconset/icon_256x256.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png",
     "install -Dm644 ${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 ${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.appdata.xml",
     "install -Dm755 -t /app/bin/ lachesis"
    ],
    "sources": [
     "generated-sources.json",
     {
      "type": "git",
      "url": "https://github.com/acristoffers/Lachesis.git",
      "commit": "be0db9c130679f2c5e7a4937826c382346db283c"
     },
     {
      "type": "script",
      "dest-filename": "lachesis",
      "commands": [
       "zypak-wrapper.sh /app/main/lachesis --ozone-platform=wayland --enable-features=WaylandWindowDecorations \"$@\""
      ]
     },
     {
      "type": "file",
      "path": "me.acristoffers.Lachesis.desktop"
     },
     {
      "type": "file",
      "path": "me.acristoffers.Lachesis.metainfo.xml"
     },
     {
      "type": "file",
      "path": "build-flatpak.sh"
     }
    ]
   }
  ]
 }
}