gameflow-deck/.config/flatpak/com.simeonradivoev.gameflow-deck.json
Simeon Radivoev 813785f4f3
feat: Bundled NW.js with appimages
feat: Implemented self update
feat: Added rclone saves for emulators
fix: Fixed auto focus in builds
feat: Added helper cards on empty library
2026-04-26 03:26:15 +03:00

107 lines
No EOL
3.9 KiB
JSON

{
"app-id": "com.simeonradivoev.gameflow-deck",
"runtime": "org.freedesktop.Platform",
"runtime-version": "25.08",
"sdk": "org.freedesktop.Sdk",
"command": "/app/bin/gameflow",
"finish-args": [
"--share=ipc",
"--share=network",
"--socket=pulseaudio",
"--socket=wayland",
"--socket=inherit-wayland-socket",
"--socket=x11",
"--socket=fallback-x11",
"--socket=session-bus",
"--socket=system-bus",
"--device=all",
"--filesystem=host",
"--filesystem=home",
"--filesystem=~/.steam/steam:rw",
"--filesystem=~/.steam:rw",
"--filesystem=~/.var/app/com.valvesoftware.Steam:rw",
"--filesystem=/run/udev:ro",
"--filesystem=/run/media",
"--filesystem=xdg-documents",
"--filesystem=xdg-desktop",
"--filesystem=xdg-run/gamescope-0:rw",
"--env=PKG_CONFIG_LIBDIR=/app/lib",
"--env=FLATPAK_BUILD=true",
"--allow=devel",
"--talk-name=org.freedesktop.portal.OpenURI",
"--talk-name=org.freedesktop.Flatpak",
"--talk-name=org.a11y.Bus"
],
"modules": [
{
"name": "gameflow-bun",
"buildsystem": "simple",
"build-commands": [
"mkdir -p /app/bin",
"mkdir -p /app/share/gameflow",
"mkdir -p /app/lib",
"install -Dm644 256x256.png /app/share/icons/hicolor/256x256/apps/com.simeonradivoev.gameflow-deck.png",
"install -Dm644 com.simeonradivoev.gameflow-deck.desktop /app/share/applications/com.simeonradivoev.gameflow-deck.desktop",
"mv * /app/share/gameflow/",
"mv /app/share/gameflow/gameflow /app/bin",
"mv /app/share/gameflow/bun /app/bin",
"chmod +x /app/bin/gameflow",
"chmod +x /app/bin/bun"
],
"sources": [
{
"type": "dir",
"path": "../../build/linux"
},
{
"type": "file",
"path": "com.simeonradivoev.gameflow-deck.desktop"
},
{
"type": "file",
"path": "../../src/mainview/public/256x256.png"
},
{
"type": "script",
"dest-filename": "gameflow",
"commands": [
"cd /app/share/gameflow",
"exec bun run index.js \"$@\""
]
},
{
"type": "archive",
"url": "https://github.com/oven-sh/bun/releases/download/bun-v1.3.9/bun-linux-x64.zip",
"sha256": "4680e80e44e32aa718560ceae85d22ecfbf2efb8f3641782e35e4b7efd65a1aa",
"only-arches": [
"x86_64"
]
},
{
"type": "archive",
"url": "https://github.com/oven-sh/bun/releases/download/bun-v1.3.9/bun-linux-aarch64.zip",
"sha256": "a2c2862bcc1fd1c0b3a8dcdc8c7efb5e2acd871eb20ed2f17617884ede81c844",
"only-arches": [
"aarch64"
]
}
]
},
{
"name": "NW.js",
"buildsystem": "simple",
"build-commands": [
"mkdir -p /app/bin/nw",
"mv * /app/bin/nw",
"chmod +x /app/bin/nw/nw"
],
"sources": [
{
"type": "archive",
"url": "https://dl.nwjs.io/v0.110.1/nwjs-v0.110.1-linux-x64.tar.gz",
"sha256": "d9a9ed2255e9ee87c9dd1860d9c7a479cea5279dcd80d3e80e23b083d325554a"
}
]
}
]
}