{
 "app_id": "com.arviceblot.eso-addon-manager",
 "source_url": "https://raw.githubusercontent.com/flathub/com.arviceblot.eso-addon-manager/master/com.arviceblot.eso-addon-manager.json",
 "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=~/.var/app/com.valvesoftware.Steam",
  "--filesystem=xdg-documents/Elder Scrolls Online",
  "--filesystem=/run/media",
  "--filesystem=~/Games",
  "--filesystem=~/.steam",
  "--filesystem=~/.local/share/Steam"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:06:52.509044+00:00",
 "manifest": {
  "app-id": "com.arviceblot.eso-addon-manager",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "eso-addon-manager",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--filesystem=~/.steam",
   "--filesystem=~/.local/share/Steam",
   "--filesystem=~/.var/app/com.valvesoftware.Steam",
   "--filesystem=~/Games",
   "--filesystem=xdg-documents/Elder Scrolls Online",
   "--filesystem=/run/media"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin"
  },
  "modules": [
   {
    "name": "eso-addon-manager",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "CARGO_HOME": "/run/build/eso-addon-manager/cargo",
      "CARGO_NET_OFFLINE": "true"
     }
    },
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo build --offline --release --verbose",
     "install -Dm755 ./target/release/eso-addon-manager -t /app/bin/",
     "install -Dm644 ${FLATPAK_ID}.desktop -t /app/share/applications/",
     "install -Dm644 ${FLATPAK_ID}.svg -t /app/share/icons/hicolor/scalable/apps/",
     "install -Dm644 ${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/arviceblot/eso-addons",
      "commit": "00af87793930842dbbeeae996364e65646664e02"
     },
     "cargo-sources.json",
     {
      "type": "file",
      "path": "com.arviceblot.eso-addon-manager.desktop"
     },
     {
      "type": "file",
      "path": "com.arviceblot.eso-addon-manager.svg"
     },
     {
      "type": "file",
      "path": "com.arviceblot.eso-addon-manager.metainfo.xml"
     }
    ]
   }
  ]
 }
}