feat: Implemented AppImage building

This commit is contained in:
Simeon Radivoev 2026-03-01 15:35:07 +02:00
parent d8f471dadc
commit 6a288f765e
38 changed files with 1036 additions and 147 deletions

View file

@ -3,6 +3,13 @@
"displayName": "Gameflow",
"version": "1.0.0",
"description": "Game Launcher",
"icon": "./src/mainview/assets/icon.svg",
"main": "./src/bun/index.ts",
"bin": "gameflow",
"repository": {
"type": "git",
"url": "https://github.com/simeonradivoev/gameflow-deck"
},
"type": "module",
"scripts": {
"dev": "NODE_ENV=development bun run build && WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS='--remote-debugging-port=9222' bun run ./scripts/dev.ts",
@ -11,14 +18,23 @@
"build:pro": "NODE_ENV=production bun run build",
"build:dev": "NODE_ENV=development bun run build",
"package": "bun run build && bun run ./scripts/package-bun.ts",
"package:auto-prod": "bun run build:pro && NODE_ENV=production bun run ./scripts/package-bun.ts",
"package:linux": "bun run build && NODE_ENV=development TARGET=bun-linux-x64 bun run ./scripts/package-bun.ts",
"package:auto-prod": "NODE_ENV=production bun run package",
"package:auto-prod:dynamic": "NODE_ENV=production NON_COMPILED=true bun run package",
"package:linux": "TARGET=bun-linux-x64 bun run package",
"openapi-ts": "bun run ./scripts/romm/openapi-ts.ts",
"run:build-action": "act workflow_dispatch --artifact-server-path artifacts --env ACTIONS_RUNTIME_TOKEN=foo -W .forgejo/workflows/build.yml",
"hmr": "vite --port 5173",
"drizzle:generate": "bunx drizzle-kit generate",
"test": "bun test",
"mappings:generate": "bun run drizzle-kit generate --dialect=sqlite --schema=./src/bun/api/schema/emulators.ts --out=./scripts/drizzle/es-de && bun run ./scripts/generate-es-de-mapping.ts"
"mappings:generate": "bun run drizzle-kit generate --dialect=sqlite --schema=./src/bun/api/schema/emulators.ts --out=./scripts/drizzle/es-de && bun run ./scripts/generate-es-de-mapping.ts",
"flatpak:generate-sources": "bun run ./scripts/generate-flatpak-sources.ts",
"flatpak:override": "flatpak override org.flatpak.Builder --filesystem=host --device=all",
"flatpak:restore": "flatpak override --reset --user org.flatpak.Builder",
"flatpak:build": "flatpak run org.flatpak.Builder build/flatpak flatpak/com.simeonradivoev.gameflow-deck.json --repo=.config/flatpak/repo --force-clean",
"flatpak:install": "bun run flatpak:build && flatpak --user install --reinstall \"$PWD/.config/flatpak/repo\" com.simeonradivoev.gameflow-deck",
"appimage:build:prod": "bun run package:auto-prod && bun run ./scripts/build-appimage.ts",
"appimage:build:dev": "bun run package && bun run ./scripts/build-appimage.ts",
"version:generate": "standard-version --sign"
},
"dependencies": {
"@auth/core": "^0.34.3",
@ -32,12 +48,12 @@
"elysia": "^1.4.22",
"fs-extra": "^11.3.3",
"get-folder-size": "^5.0.0",
"jimp": "^1.6.0",
"node-disk-info": "^1.3.0",
"node-downloader-helper": "^2.1.10",
"node-stream-zip": "^1.15.0",
"open": "^11.0.0",
"pathe": "^2.0.3",
"sharp": "^0.34.5",
"systeminformation": "^5.31.1",
"tough-cookie": "^6.0.0",
"tough-cookie-file-store": "^3.3.0",
@ -65,6 +81,7 @@
"@types/unzip-stream": "^0.3.4",
"@vitejs/plugin-react": "^5.1.2",
"animate.css": "^4.1.1",
"app-builder-bin": "^5.0.0-alpha.13",
"babel-plugin-react-compiler": "^1.0.0",
"classnames": "^2.5.1",
"concurrently": "^9.2.1",