Skip to content

Commit

Permalink
Merge pull request #198 from My1/patch-1
Browse files Browse the repository at this point in the history
Fix warp finder
  • Loading branch information
krypt0nn authored Oct 20, 2024
2 parents d061ce0 + 72828f9 commit 331eccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/main/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ impl SimpleComponent for App {
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-v3/index.html")) {
if let Some(url) = web_cache.lines().rev().find(|line| line.contains("gacha-v2/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();

Expand Down

0 comments on commit 331eccc

Please sign in to comment.