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
|
// If it failed to re-code the file - just copy it
|
||||||
// Will happen with HSR because devs apparently named
|
// Will happen with HSR because devs apparently named
|
||||||
// their background image ".webp" while it's JPEG
|
// 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())?;
|
std::fs::copy(crate::BACKGROUND_FILE.as_path(), crate::BACKGROUND_PRIMARY_FILE.as_path())?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue