{
 "app_id": "io.github.fezlight.mine4ease",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.fezlight.mine4ease/master/io.github.fezlight.mine4ease.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=com.canonical.AppMenu.Registrar"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:11:04.748823+00:00",
 "manifest": {
  "app-id": "io.github.fezlight.mine4ease",
  "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.node22"
  ],
  "command": "run.sh",
  "finish-args": [
   "--socket=fallback-x11",
   "--socket=wayland",
   "--share=ipc",
   "--share=network",
   "--device=dri",
   "--socket=pulseaudio",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=com.canonical.AppMenu.Registrar",
   "--env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons"
  ],
  "modules": [
   {
    "name": "mine4ease",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/node22/bin",
     "env": {
      "XDG_CACHE_HOME": "/run/build/mine4ease/flatpak-node/cache"
     }
    },
    "build-commands": [
     "export YARN_OFFLINE_MIRROR=\"$PWD/flatpak-node/yarn-mirror\"\nyarn config --offline set yarn-offline-mirror \"$YARN_OFFLINE_MIRROR\"\nyarn install --offline --frozen-lockfile --ignore-scripts\n",
     "jq '.linux.target=\"dir\" | .electronDownload.isVerifyChecksum=false' <<<$(<electron-builder.json5) > electron-builder.json5",
     ". flatpak-node/electron-builder-arch-args.sh; yarn run build -- $ELECTRON_BUILDER_ARCH_ARGS",
     "mkdir -p /app/main",
     "cp -a dist/linux*unpacked/** /app/main",
     "mkdir -p /app/bin",
     "install -Dm755 -t /app/bin/ run.sh",
     "install -Dm644 flatpak/io.github.fezlight.mine4ease.desktop /app/share/applications/io.github.fezlight.mine4ease.desktop",
     "install -Dm644 build/icon.png /app/share/icons/hicolor/512x512/apps/io.github.fezlight.mine4ease.png",
     "install -Dm644 flatpak/io.github.fezlight.mine4ease.metainfo.xml /app/share/metainfo/io.github.fezlight.mine4ease.metainfo.xml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/FezLight/mine4ease.git",
      "tag": "v0.9.4",
      "commit": "0afc948b207136fd974e8855b50c56cf4649b171"
     },
     {
      "type": "script",
      "dest-filename": "run.sh",
      "commands": [
       "zypak-wrapper /app/main/mine4ease \"$@\""
      ]
     },
     "generated-sources.json"
    ]
   }
  ]
 }
}