{
 "app_id": "io.github.darrellroberts.minesweeper",
 "source_url": "https://raw.githubusercontent.com/darrell-roberts/minesweeper/master/io.github.darrellroberts.minesweeper.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--share=network",
  "--filesystem=xdg-config/cursors:ro",
  "--filesystem=xdg-config/fontconfig:ro",
  "--env=XCURSOR_THEME=Adwaita"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T12:58:15.908690+00:00",
 "manifest": {
  "app-id": "io.github.darrellroberts.minesweeper",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "minesweeper-iced",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--share=network",
   "--filesystem=xdg-config/cursors:ro",
   "--filesystem=xdg-config/fontconfig:ro",
   "--env=XCURSOR_THEME=Adwaita"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin"
  },
  "modules": [
   {
    "name": "minesweeper",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "CARGO_HOME": "/run/build/minesweeper/cargo"
     }
    },
    "build-commands": [
     "install -dDdm777 assets/icons /app/share/icons",
     "install -Dm644 assets/io.github.darrellroberts.minesweeper.desktop -t /app/share/applications/",
     "install -Dm644 assets/io.github.darrellroberts.minesweeper.metainfo.xml -t /app/share/metainfo/",
     "tar zxvf assets/icons.tar.gz -C /app/share",
     "cargo --offline fetch --manifest-path Cargo.toml",
     "cargo --offline build --release",
     "install -Dm755 ./target/release/minesweeper-iced -t /app/bin/"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "."
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}