feat(games): Added multi-argument game launch and setup support

This commit is contained in:
quexeky
2025-01-20 20:03:44 +11:00
parent 9831d96300
commit 48cbd1a5ed
4 changed files with 35 additions and 64 deletions
+12 -2
View File
@@ -57,13 +57,23 @@ pub enum ApplicationTransientStatus {
#[derive(Serialize, Deserialize, Clone, Debug)]
#[serde(rename_all = "camelCase")]
pub struct GameVersion {
pub version_index: usize,
pub game_id: String,
pub version_name: String,
pub platform: Platform,
pub launch_command: String,
pub launch_args: Vec<String>,
pub setup_command: String,
pub setup_args: Vec<String>,
pub platform: Platform,
pub only_setup: bool,
pub version_index: usize,
pub delta: bool,
pub umu_id_override: Option<String>,
}
#[serde_as]