From eb81149143fec48ae6ddcb468feedcf0b0849810 Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Thu, 8 Jun 2023 15:41:27 +0200 Subject: [PATCH] feat: removed patch mirror migrations --- src/games/genshin/config/schema/patch.rs | 5 ----- src/games/honkai/config/schema/patch.rs | 5 ----- src/games/star_rail/config/schema/patch.rs | 5 ----- 3 files changed, 15 deletions(-) diff --git a/src/games/genshin/config/schema/patch.rs b/src/games/genshin/config/schema/patch.rs index dae0ccb..9dd2ecf 100644 --- a/src/games/genshin/config/schema/patch.rs +++ b/src/games/genshin/config/schema/patch.rs @@ -60,11 +60,6 @@ impl From<&JsonValue> for Patch { } } - // Add repository mirror if it's not here (so old default installation) - if servers.as_ref() == ["https://notabug.org/Krock/dawn"] { - servers = default.servers; - } - servers }, None => default.servers diff --git a/src/games/honkai/config/schema/patch.rs b/src/games/honkai/config/schema/patch.rs index 5771779..96e05cb 100644 --- a/src/games/honkai/config/schema/patch.rs +++ b/src/games/honkai/config/schema/patch.rs @@ -61,11 +61,6 @@ impl From<&JsonValue> for Patch { } } - // Add repository mirror if it's not here (so old default installation) - if servers.as_ref() == ["https://notabug.org/mkrsym1/dusk"] { - servers = default.servers; - } - servers }, None => default.servers diff --git a/src/games/star_rail/config/schema/patch.rs b/src/games/star_rail/config/schema/patch.rs index 1f18069..a0f221b 100644 --- a/src/games/star_rail/config/schema/patch.rs +++ b/src/games/star_rail/config/schema/patch.rs @@ -55,11 +55,6 @@ impl From<&JsonValue> for Patch { } } - // Add repository mirror if it's not here (so old default installation) - if servers.as_ref() == ["https://notabug.org/mkrsym1/astra"] { - servers = default.servers; - } - servers }, None => default.servers