docs: updated changelog, added it to about window

This commit is contained in:
Observer KRypt0n_ 2023-04-06 19:37:30 +02:00
parent 02323bad4f
commit b20df574bf
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2
2 changed files with 22 additions and 3 deletions

View file

@ -5,6 +5,14 @@ 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).
## [Unreleased]
### Changed
- Made default game folder name depend on game edition
- Improved game repairing feature
- Replaced `curl` dependency by native code
## [3.3.0] - 24.03.2023
### Added

View file

@ -1,6 +1,7 @@
use relm4::prelude::*;
use gtk::prelude::*;
use crate::APP_VERSION;
use anime_launcher_sdk::VERSION as SDK_VERSION;
use anime_launcher_sdk::anime_game_core::VERSION as CORE_VERSION;
@ -35,12 +36,12 @@ impl SimpleComponent for AboutDialog {
set_version: &{
// Debug build & build's version doesn't contain any suffix (-dev, -beta, etc)
if crate::APP_DEBUG && !crate::APP_VERSION.contains('-') {
format!("{}-dev", crate::APP_VERSION)
if crate::APP_DEBUG && !APP_VERSION.contains('-') {
format!("{APP_VERSION}-dev")
}
else {
crate::APP_VERSION.to_string()
APP_VERSION.to_string()
}
},
@ -78,6 +79,16 @@ impl SimpleComponent for AboutDialog {
format!("cairo: {}", gtk::cairo::version_string()),
].join("\n"),
set_release_notes_version: APP_VERSION,
set_release_notes: &[
"<p>Changed</p>",
"<ul>",
"<li>Made default game folder name depend on game edition</li>",
"<li>Improved game repairing feature</li>",
"<li>Replaced curl dependency by native code</li>",
"</ul>",
].join("\n"),
set_modal: true,
set_hide_on_close: true,