feat: 添加获批整合包同步与 StarLight 实例模式

This commit is contained in:
Disy committed 2026-09-14 22:59:16 +08:00
1 parent fbcaed528b
commit 2a1dfa3c42
29 files changed
+1891 -225

No files matched your search

@@ -54,6 +54,7 @@ pub struct EditInstance {
#[derive(Clone, Debug, Default, Serialize, Deserialize)]
pub struct InstanceLaunchOverridesPatch {
pub instance_mode: Option<crate::state::InstanceMode>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
@@ -369,6 +370,9 @@ fn apply_launch_overrides_patch(
if let Some(game_resolution) = patch.game_resolution {
overrides.game_resolution = game_resolution;
}
if let Some(mode) = patch.instance_mode {
overrides.instance_mode = Some(mode);
}
if let Some(timeout) = patch.launch_preparation_timeout {
overrides.launch_preparation_timeout = timeout;
}