diff --git a/src/star_rail/config/schema/patch.rs b/src/star_rail/config/schema/patch.rs index 9a20a99..ac86cbe 100644 --- a/src/star_rail/config/schema/patch.rs +++ b/src/star_rail/config/schema/patch.rs @@ -9,7 +9,6 @@ use crate::star_rail::consts::launcher_dir; pub struct Patch { pub path: PathBuf, pub servers: Vec, - pub apply_xlua: bool, pub root: bool } @@ -25,8 +24,6 @@ impl Default for Patch { String::from("https://notabug.org/Krock/dawn") ], - apply_xlua: true, - // Disable root requirement for patching if we're running launcher in flatpak root: !PathBuf::from("/.flatpak-info").exists() } @@ -64,11 +61,6 @@ impl From<&JsonValue> for Patch { None => default.servers }, - apply_xlua: match value.get("apply_xlua") { - Some(value) => value.as_bool().unwrap_or(default.apply_xlua), - None => default.apply_xlua - }, - root: match value.get("root") { Some(value) => value.as_bool().unwrap_or(default.root), None => default.root