{
 "app_id": "io.github.pejuko.follamac",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.pejuko.follamac/master/io.github.pejuko.follamac.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "23.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=dri"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:11:56.654463+00:00",
 "manifest": {
  "id": "io.github.pejuko.follamac",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "23.08",
  "sdk": "org.freedesktop.Sdk",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "23.08",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.node20"
  ],
  "command": "run.sh",
  "build-options": {
   "append-path": "/usr/lib/sdk/node20/bin",
   "env": {
    "NPM_CONFIG_LOGLEVEL": "info"
   }
  },
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--device=dri",
   "--socket=pulseaudio",
   "--share=network"
  ],
  "modules": [
   {
    "name": "follamac",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "XDG_CACHE_HOME": "/run/build/follamac/flatpak-node/cache",
      "YARN_CACHE_FOLDER": "/run/build/follamac/flatpak-node/npm-cache"
     }
    },
    "build-commands": [
     "HOME=$PWD yarn config --offline set yarn-offline-mirror $FLATPAK_BUILDER_BUILDDIR/flatpak-node/yarn-mirror",
     "yarn install --offline",
     "yarn --offline build",
     ". ../flatpak-node/electron-builder-arch-args.sh",
     "yarn --offline dist $ELECTRON_BUILDER_ARCH_ARGS --linux --dir",
     "cp -a dist/linux*unpacked /app/main",
     "install -Dm755 -t /app/bin/ ../run.sh",
     "install -Dm644 io.github.pejuko.follamac.desktop -t /app/share/applications",
     "install -Dm644 images/icons/icon.png /app/share/icons/hicolor/512x512/apps/io.github.pejuko.follamac.png",
     "install -Dm644 io.github.pejuko.follamac.metainfo.xml -t /app/share/metainfo"
    ],
    "subdir": "follamac",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/pejuko/follamac/archive/refs/tags/v0.1.5.tar.gz",
      "dest": "follamac",
      "sha256": "ef616f9f1a0add5ef8bd1e8b3834756add70a840b13ab39d05d5a65ddb79028e"
     },
     "generated-sources.json",
     {
      "type": "script",
      "dest-filename": "run.sh",
      "commands": [
       "zypak-wrapper.sh /app/main/follamac \"$@\""
      ]
     }
    ]
   }
  ]
 }
}