mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-11-21 20:36:01 +03:00
docs: updated changelog, added it to about window
This commit is contained in:
parent
02323bad4f
commit
b20df574bf
2 changed files with 22 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
||||
|
|
Loading…
Reference in a new issue