mirror of
https://github.com/an-anime-team/sleepy-launcher.git
synced 2025-03-15 06:28:27 +03:00
commit
c6f1371e0d
7 changed files with 33 additions and 31 deletions
14
CHANGELOG.md
14
CHANGELOG.md
|
@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [3.4.1] - 12.04.2023
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed base game's hdiff patches applying errors caused by 3.6's voiceovers files migration
|
||||
- Fixed xlua patch applying
|
||||
|
||||
### Changed
|
||||
|
||||
- Removed fractions displaying in repairer's progress bar
|
||||
|
||||
## [3.4.0] - 11.04.2023
|
||||
|
||||
### Added
|
||||
|
@ -162,7 +173,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
<br>
|
||||
|
||||
[unreleased]: https://github.com/an-anime-team/an-anime-game-launcher/compare/3.4.0...next
|
||||
[unreleased]: https://github.com/an-anime-team/an-anime-game-launcher/compare/3.4.1...next
|
||||
[3.4.1]: https://github.com/an-anime-team/an-anime-game-launcher/compare/3.4.0...3.4.1
|
||||
[3.4.0]: https://github.com/an-anime-team/an-anime-game-launcher/compare/3.3.0...3.4.0
|
||||
[3.3.0]: https://github.com/an-anime-team/an-anime-game-launcher/compare/3.2.1...3.3.0
|
||||
[3.2.1]: https://github.com/an-anime-team/an-anime-game-launcher/compare/3.2.0...3.2.1
|
||||
|
|
10
Cargo.lock
generated
10
Cargo.lock
generated
|
@ -40,8 +40,8 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "anime-game-core"
|
||||
version = "1.6.1"
|
||||
source = "git+https://github.com/an-anime-team/anime-game-core?tag=1.6.1#2396d1e6538523c0ea1da2f9e75469fff035e44e"
|
||||
version = "1.6.2"
|
||||
source = "git+https://github.com/an-anime-team/anime-game-core?tag=1.6.2#f41c0edbf6d830662b20a220987531bb517cf8cb"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"bzip2",
|
||||
|
@ -64,7 +64,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "anime-game-launcher"
|
||||
version = "3.4.0"
|
||||
version = "3.4.1"
|
||||
dependencies = [
|
||||
"anime-launcher-sdk",
|
||||
"anyhow",
|
||||
|
@ -86,8 +86,8 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "anime-launcher-sdk"
|
||||
version = "0.5.16"
|
||||
source = "git+https://github.com/an-anime-team/anime-launcher-sdk?tag=0.5.16#a36215db4613ba284d8b2215ec822df64ce73404"
|
||||
version = "0.5.17"
|
||||
source = "git+https://github.com/an-anime-team/anime-launcher-sdk?tag=0.5.17#5b4403956feaca7204f057a26f06e69b7fc1b285"
|
||||
dependencies = [
|
||||
"anime-game-core",
|
||||
"anyhow",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "anime-game-launcher"
|
||||
version = "3.4.0"
|
||||
version = "3.4.1"
|
||||
description = "Anime Game launcher"
|
||||
authors = ["Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>"]
|
||||
license = "GPL-3.0"
|
||||
|
@ -17,7 +17,7 @@ glib-build-tools = "0.17"
|
|||
|
||||
[dependencies.anime-launcher-sdk]
|
||||
git = "https://github.com/an-anime-team/anime-launcher-sdk"
|
||||
tag = "0.5.16"
|
||||
tag = "0.5.17"
|
||||
|
||||
# path = "../anime-launcher-sdk" # ! for dev purposes only
|
||||
|
||||
|
|
|
@ -40,17 +40,17 @@ downloading = Descargando
|
|||
unpacking = Descomprimiendo
|
||||
verifying-files = Verificación de archivos
|
||||
repairing-files = Reparación de archivos
|
||||
migrating-folders = Migrating folders
|
||||
applying-hdiff = Applying hdiff patches
|
||||
removing-outdated = Removing outdated files
|
||||
migrating-folders = Migrando carpetas
|
||||
applying-hdiff = Aplicando parches de hdiff
|
||||
removing-outdated = Eliminando archivos desactualizados
|
||||
|
||||
|
||||
components-index-updated = Se actualizó el índice de componentes
|
||||
|
||||
|
||||
launch = Iniciar
|
||||
migrate-folders = Migrate folders
|
||||
migrate-folders-tooltip = Update game folders structure
|
||||
migrate-folders = Migrar carpetas
|
||||
migrate-folders-tooltip = Actualizar estructura de carpetas del juego
|
||||
apply-patch = Aplicar parche
|
||||
download-wine = Descargar wine
|
||||
create-prefix = Crear prefijo
|
||||
|
|
|
@ -78,32 +78,17 @@ impl SimpleComponent for AboutDialog {
|
|||
|
||||
set_release_notes_version: &APP_VERSION,
|
||||
set_release_notes: &[
|
||||
"<p>Added</p>",
|
||||
|
||||
"<ul>",
|
||||
"<li>Added installation migration feature</li>",
|
||||
"<li>Added game environment switcher</li>",
|
||||
"<li>Added game edition switcher</li>",
|
||||
"<li>Added changelog to updated components toast</li>",
|
||||
"<li>Added wine tools to settings</li>",
|
||||
"<li>Added preferences search</li>",
|
||||
"<li>Added new progress bar statuses for applyign hdiff patches and removing outdated files</li>",
|
||||
"<li>Added automatic 3.5 -> 3.6 voiceover files migration related to changed files structure</li>",
|
||||
"</ul>",
|
||||
|
||||
"<p>Fixed</p>",
|
||||
|
||||
"<ul>",
|
||||
"<li>Added whitespaces removing from environment values</li>",
|
||||
"<li>Fixed base game's hdiff patches applying errors caused by 3.6's voiceovers files migration</li>",
|
||||
"<li>Fixed xlua patch applying</li>",
|
||||
"</ul>",
|
||||
|
||||
"<p>Changed</p>",
|
||||
|
||||
"<ul>",
|
||||
"<li>Improved game repairing feature</li>",
|
||||
"<li>Replaced curl dependency by native code</li>",
|
||||
"<li>Replaced static image by spinner in wine / dxvk version selection</li>",
|
||||
"<li>Made wine / dxvk versions always visible if they're downloaded</li>",
|
||||
"<li>Removed fractions displaying in repairer's progress bar</li>",
|
||||
"</ul>",
|
||||
].join("\n"),
|
||||
|
||||
|
|
|
@ -39,6 +39,8 @@ pub struct ProgressBar {
|
|||
pub enum ProgressBarMsg {
|
||||
Reset,
|
||||
UpdateCaption(Option<String>),
|
||||
DisplayProgress(bool),
|
||||
DisplayFraction(bool),
|
||||
|
||||
/// (current bytes, total bytes)
|
||||
UpdateProgress(u64, u64),
|
||||
|
@ -115,6 +117,8 @@ impl SimpleAsyncComponent for ProgressBar {
|
|||
}
|
||||
|
||||
ProgressBarMsg::UpdateCaption(caption) => self.caption = caption,
|
||||
ProgressBarMsg::DisplayProgress(value) => self.display_progress = value,
|
||||
ProgressBarMsg::DisplayFraction(value) => self.display_fraction = value,
|
||||
|
||||
ProgressBarMsg::UpdateProgress(curr, total) => {
|
||||
self.fraction = curr as f64 / total as f64;
|
||||
|
|
|
@ -100,6 +100,7 @@ pub fn repair_game(sender: ComponentSender<App>, progress_bar_input: Sender<Prog
|
|||
|
||||
if !broken.is_empty() {
|
||||
progress_bar_input.send(ProgressBarMsg::UpdateCaption(Some(tr("repairing-files"))));
|
||||
progress_bar_input.send(ProgressBarMsg::DisplayFraction(false));
|
||||
progress_bar_input.send(ProgressBarMsg::UpdateProgress(0, 0));
|
||||
|
||||
tracing::warn!("Found broken files:\n{}", broken.iter().fold(String::new(), |acc, file| acc + &format!("- {}\n", file.path.to_string_lossy())));
|
||||
|
|
Loading…
Add table
Reference in a new issue