Merge branch 'next' of https://github.com/an-anime-team/an-anime-game-launcher into next
This commit is contained in:
commit
44b3922377
2 changed files with 8 additions and 3 deletions
|
@ -7,8 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [1.5.5] - 08.05.2024
|
||||
|
||||
### Added
|
||||
|
||||
- List missing dependencies on non-standard distros during initial setup
|
||||
|
|
|
@ -99,7 +99,14 @@ pub fn download_background() -> anyhow::Result<()> {
|
|||
.arg("-o")
|
||||
.arg(crate::BACKGROUND_PRIMARY_FILE.as_path())
|
||||
.spawn()?
|
||||
.wait_with_output()?;
|
||||
.wait()?;
|
||||
|
||||
// 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() {
|
||||
std::fs::copy(crate::BACKGROUND_FILE.as_path(), crate::BACKGROUND_PRIMARY_FILE.as_path())?;
|
||||
}
|
||||
}
|
||||
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue