-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/ui/main/mod.rs b/src/ui/main/mod.rs | ||
index bfdab28..11393e5 100644 | ||
--- a/src/ui/main/mod.rs | ||
+++ b/src/ui/main/mod.rs | ||
@@ -763,7 +763,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-v2/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(); | ||
|