Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…-launcher into next
  • Loading branch information
krypt0nn committed Jun 17, 2024
2 parents 44b3922 + a739315 commit 5da9de6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())?;
}
}
Expand Down

0 comments on commit 5da9de6

Please sign in to comment.