mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-02-16 07:11:26 +03:00
fix: fixed last commit
This commit is contained in:
parent
d125b27015
commit
a7393156d9
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ pub fn download_background() -> anyhow::Result<()> {
|
|||
// If it failed to re-code the file - just copy it
|
||||
// Will happen with HSR because devs apparently named
|
||||
// their background image ".webp" while it's JPEG
|
||||
if crate::BACKGROUND_PRIMARY_FILE.exists() {
|
||||
if !crate::BACKGROUND_PRIMARY_FILE.exists() {
|
||||
std::fs::copy(crate::BACKGROUND_FILE.as_path(), crate::BACKGROUND_PRIMARY_FILE.as_path())?;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue