{
 "app_id": "io.github.atlasnotes",
 "source_url": "https://raw.githubusercontent.com/EternalCoder454/atlas-notes/main/packaging/flatpak/io.github.atlasnotes.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--socket=wayland",
  "--socket=fallback-x11",
  "--share=ipc",
  "--device=dri",
  "--share=network"
 ],
 "module_count": 1,
 "fetched_at": "2026-10-05T15:40:55.510151+00:00",
 "manifest": {
  "app-id": "io.github.atlasnotes",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "atlas-notes",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--device=dri",
   "--share=network"
  ],
  "build-options": {
   "build-args": [
    "--share=network"
   ],
   "env": {
    "GOTOOLCHAIN": "local",
    "GOFLAGS": "-mod=readonly -modcacherw",
    "CGO_ENABLED": "1"
   }
  },
  "modules": [
   {
    "name": "atlas-notes",
    "buildsystem": "simple",
    "build-commands": [
     "set -eu\nexport GOROOT=\"$PWD/.go-toolchain\"\nexport PATH=\"$GOROOT/bin:$PATH\"\nexport GOPATH=\"$PWD/.gopath\" GOCACHE=\"$PWD/.gocache\"\nVERSION=$(sed -n 's/^var version = \"\\(.*\\)\"/\\1/p' internal/app/version.go)\ngo version\ngo build -ldflags \"-s -w -X 'atlas-notes/internal/app.version=$VERSION'\" \\\n  -o atlas-notes .\n",
     "install -Dm755 atlas-notes /app/bin/atlas-notes",
     "install -Dm644 assets/atlas-notes.svg /app/share/icons/hicolor/scalable/apps/io.github.atlasnotes.svg",
     "install -Dm644 assets/atlas-notes.svg /app/share/icons/hicolor/scalable/apps/atlas-notes.svg",
     "install -Dm644 assets/atlas-notes-16.svg /app/share/icons/hicolor/16x16/apps/io.github.atlasnotes.svg",
     "install -Dm644 assets/atlas-notes-16.svg /app/share/icons/hicolor/16x16/apps/atlas-notes.svg",
     "install -Dm644 assets/atlas-notes-symbolic.svg /app/share/icons/hicolor/symbolic/apps/io.github.atlasnotes-symbolic.svg",
     "install -Dm644 assets/atlas-notes-symbolic.svg /app/share/icons/hicolor/symbolic/apps/atlas-notes-symbolic.svg",
     "sed -e 's|^Exec=@BIN@|Exec=atlas-notes|' -e 's|^Icon=.*|Icon=io.github.atlasnotes|' packaging/io.github.atlasnotes.desktop > io.github.atlasnotes.desktop",
     "install -Dm644 io.github.atlasnotes.desktop /app/share/applications/io.github.atlasnotes.desktop",
     "install -Dm644 packaging/flatpak/io.github.atlasnotes.metainfo.xml /app/share/metainfo/io.github.atlasnotes.metainfo.xml"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../..",
      "skip": [
       ".git",
       ".claude",
       "bin",
       "packaging/android"
      ]
     },
     {
      "type": "archive",
      "url": "https://go.dev/dl/go1.27.1.linux-amd64.tar.gz",
      "sha256": "63d339f0da5ab53635a56f2490a7984dfe12dfcff22ad749f63edaf590168445",
      "strip-components": 1,
      "dest": ".go-toolchain",
      "only-arches": [
       "x86_64"
      ]
     }
    ]
   }
  ]
 }
}