{
 "app_id": "io.github.glaumar.v2raya_flatpak",
 "source_url": "https://raw.githubusercontent.com/glaumar/v2raya-flatpak/main/io.github.glaumar.v2raya_flatpak.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "22.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--socket=session-bus"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-18T08:36:38.410463+00:00",
 "manifest": {
  "app-id": "io.github.glaumar.v2raya_flatpak",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "22.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.node18",
   "org.freedesktop.Sdk.Extension.golang"
  ],
  "command": "run-v2raya.sh",
  "finish-args": [
   "--share=network",
   "--socket=session-bus"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/node18/bin:/usr/lib/sdk/golang/bin",
   "build-args": [
    "--share=network"
   ]
  },
  "modules": [
   {
    "name": "link-sbin",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p ${FLATPAK_DEST}/bin",
     "ln -sf ${FLATPAK_DEST}/bin ${FLATPAK_DEST}/sbin"
    ]
   },
   "iptables.yml",
   "iproute2.yml",
   "v2ray-core.yml",
   "v2raya.yml",
   {
    "name": "run-v2raya",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm 755 run-v2raya.sh ${FLATPAK_DEST}/bin/run-v2raya.sh",
     "install -Dm 755 create-v2raya-service.sh  ${FLATPAK_DEST}/bin/create-v2raya-service.sh",
     "install -Dm 755 remove-v2raya-service.sh  ${FLATPAK_DEST}/bin/remove-v2raya-service.sh",
     "install -Dm 755 reset-password.sh ${FLATPAK_DEST}/bin/reset-password.sh",
     "install -Dm 644 io.github.glaumar.v2raya_flatpak.desktop ${FLATPAK_DEST}/share/applications/io.github.glaumar.v2raya_flatpak.desktop",
     "install -Dm 644 io.github.glaumar.v2raya_flatpak.metainfo.xml ${FLATPAK_DEST}/share/metainfo/io.github.glaumar.v2raya_flatpak.metainfo.xml"
    ],
    "sources": [
     {
      "type": "file",
      "path": "run-v2raya.sh"
     },
     {
      "type": "file",
      "path": "create-v2raya-service.sh"
     },
     {
      "type": "file",
      "path": "remove-v2raya-service.sh"
     },
     {
      "type": "file",
      "path": "reset-password.sh"
     },
     {
      "type": "file",
      "path": "io.github.glaumar.v2raya_flatpak.desktop"
     },
     {
      "type": "file",
      "path": "io.github.glaumar.v2raya_flatpak.metainfo.xml"
     }
    ]
   }
  ]
 }
}