{
 "app_id": "io.github.cook0001.LinuxJagexLauncher",
 "source_url": "https://raw.githubusercontent.com/cook0001/Linux-Jagex-Launcher/main/packaging/flatpak/io.github.cook0001.LinuxJagexLauncher.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--device=dri",
  "--device=all",
  "--socket=pulseaudio",
  "--share=network",
  "--filesystem=xdg-data/linux-jagex-launcher:create",
  "--filesystem=xdg-config/linux-jagex-launcher:create",
  "--filesystem=~/.runelite:create",
  "--filesystem=~/.hdos:create",
  "--filesystem=~/.jagex_launcher:create",
  "--filesystem=~/.jagex_cache_32:create",
  "--filesystem=~/Pictures/RuneScape:create",
  "--talk-name=org.freedesktop.portal.OpenURI",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=com.feralinteractive.GameMode"
 ],
 "module_count": 4,
 "fetched_at": "2026-10-05T15:36:55.196584+00:00",
 "manifest": {
  "app-id": "io.github.cook0001.LinuxJagexLauncher",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "24.08",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.openjdk21"
  ],
  "command": "linux-jagex-launcher",
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--socket=wayland",
   "--device=dri",
   "--device=all",
   "--socket=pulseaudio",
   "--share=network",
   "--filesystem=xdg-data/linux-jagex-launcher:create",
   "--filesystem=xdg-config/linux-jagex-launcher:create",
   "--filesystem=~/.runelite:create",
   "--filesystem=~/.hdos:create",
   "--filesystem=~/.jagex_launcher:create",
   "--filesystem=~/.jagex_cache_32:create",
   "--filesystem=~/Pictures/RuneScape:create",
   "--talk-name=org.freedesktop.portal.OpenURI",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=com.feralinteractive.GameMode"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/openjdk21/bin",
   "env": {
    "JAVA_HOME": "/usr/lib/sdk/openjdk21"
   }
  },
  "modules": [
   {
    "name": "openjdk",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/lib/sdk/openjdk21/install.sh"
    ]
   },
   "shared-modules/gtk2/gtk2.json",
   {
    "name": "openssl",
    "buildsystem": "simple",
    "build-commands": [
     "./config --prefix=/app --openssldir=/app/ssl shared zlib",
     "make -j $FLATPAK_BUILDER_N_JOBS",
     "make install_sw"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/openssl/openssl.git",
      "tag": "OpenSSL_1_1_1w",
      "commit": "e04bd3433fd84e1861bf258ea37928d9845e6a86"
     }
    ]
   },
   {
    "name": "linux-jagex-launcher",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "ELECTRON_SKIP_BINARY_DOWNLOAD": "1"
     }
    },
    "build-commands": [
     "install -Dm755 -d /app/bin",
     "install -Dm755 -d /app/share/linux-jagex-launcher",
     "cp -r * /app/share/linux-jagex-launcher/",
     "ln -s /app/share/linux-jagex-launcher/linux-jagex-launcher /app/bin/linux-jagex-launcher",
     "install -Dm644 io.github.cook0001.LinuxJagexLauncher.desktop /app/share/applications/io.github.cook0001.LinuxJagexLauncher.desktop",
     "install -Dm644 io.github.cook0001.LinuxJagexLauncher.metainfo.xml /app/share/metainfo/io.github.cook0001.LinuxJagexLauncher.metainfo.xml",
     "install -Dm644 resources/icons/512x512.png /app/share/icons/hicolor/512x512/apps/io.github.cook0001.LinuxJagexLauncher.png",
     "install -Dm644 resources/icons/256x256.png /app/share/icons/hicolor/256x256/apps/io.github.cook0001.LinuxJagexLauncher.png",
     "install -Dm644 resources/icons/128x128.png /app/share/icons/hicolor/128x128/apps/io.github.cook0001.LinuxJagexLauncher.png",
     "install -Dm644 resources/icons/64x64.png /app/share/icons/hicolor/64x64/apps/io.github.cook0001.LinuxJagexLauncher.png",
     "install -Dm644 resources/icons/32x32.png /app/share/icons/hicolor/32x32/apps/io.github.cook0001.LinuxJagexLauncher.png"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/cook0001/Linux-Jagex-Launcher.git",
      "tag": "v1.4.6",
      "commit": "HEAD"
     }
    ]
   }
  ]
 }
}