This commit is contained in:
Nikita Podvirnyi 2024-06-17 16:03:43 +02:00
commit 5da9de60c4
No known key found for this signature in database
GPG key ID: 859D416E5142AFF3

View file

@ -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())?;
} }
} }