Launcher unable to find wishes url
prosenboim opened this issue · 2 comments
prosenboim commented
Looks like devs changed their wishes url. The only difference I could spot is that in now ended with 'v3' instead of 'v2'.
For me this patch fixed it
diff --git a/src/ui/main/mod.rs b/src/ui/main/mod.rs
index bfdab28..6d531c5 100644
--- a/src/ui/main/mod.rs
+++ b/src/ui/main/mod.rs
@@ -762,8 +762,8 @@ impl SimpleComponent for App {
Ok(web_cache) => {
let web_cache = String::from_utf8_lossy(&web_cache);
- // https://webstatic-sea.[ho-yo-ver-se].com/[ge-nsh-in]/event/e20190909gacha-v2/index.html?......
- if let Some(url) = web_cache.lines().rev().find(|line| line.contains("gacha-v2/index.html")) {
+ // https://webstatic-sea.[ho-yo-ver-se].com/[ge-nsh-in]/event/e20190909gacha-v3/index.html?......
+ if let Some(url) = web_cache.lines().rev().find(|line| line.contains("gacha-v3/index.html")) {
let url_begin_pos = url.find("https://").unwrap();
let url_end_pos = url_begin_pos + url[url_begin_pos..].find("\0\0\0\0").unwrap();
krypt0nn commented
Will be fixed in the next update. Thanks for the report
gabzou364 commented
when are you fixing this
i need my wish url