From 9593973fb0ff112cf26266bfedbf45e6460b10bf Mon Sep 17 00:00:00 2001
From: 905086 <k2049@qq.com>
Date: Wed, 04 Nov 2026 20:43:12 +0800
Subject: [PATCH] feat: 支持游戏启动程序配置与自动解压安装
---
fluttergamebox/lib/api/api_service.dart | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/fluttergamebox/lib/api/api_service.dart b/fluttergamebox/lib/api/api_service.dart
index a0c78b5..a5626ea 100644
--- a/fluttergamebox/lib/api/api_service.dart
+++ b/fluttergamebox/lib/api/api_service.dart
@@ -15,6 +15,7 @@
final String gpuReq;
final String ramReq;
final String versionNote;
+ final String launchExe; // 启动程序相对路径(相对游戏安装目录)
final String cover;
final String video;
final List<String> screenshots;
@@ -37,6 +38,7 @@
required this.gpuReq,
required this.ramReq,
required this.versionNote,
+ required this.launchExe,
required this.cover,
required this.video,
required this.screenshots,
@@ -75,6 +77,7 @@
gpuReq: j['gpu_req'] ?? '',
ramReq: j['ram_req'] ?? '',
versionNote: j['version_note'] ?? '',
+ launchExe: j['launch_exe'] ?? '',
cover: j['cover'] ?? '',
video: j['video'] ?? '',
screenshots: shots,
--
Gitblit v1.10.0