Skip to content

Commit

Permalink
Release v0.24.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mtkennerly committed Jun 28, 2024
1 parent d480653 commit ea7245e
Show file tree
Hide file tree
Showing 7 changed files with 251 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ body:
label: Ludusavi version
description: If you're not using the latest version, please update and make sure the problem still occurs.
options:
- v0.24.2
- v0.24.1
- v0.24.0
- v0.23.0
Expand All @@ -16,7 +17,6 @@ body:
- v0.19.0
- v0.18.2
- v0.18.1
- v0.18.0
- Other
validations:
required: true
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Unreleased
## v0.24.2 (2024-06-28)

* Fixed:
* When multi-backup was enabled and Ludusavi backed up a game for the first time,
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ludusavi"
version = "0.24.1"
version = "0.24.2"
authors = ["mtkennerly <mtkennerly@gmail.com>"]
edition = "2021"
description = "Game save backup tool"
Expand Down
3 changes: 2 additions & 1 deletion assets/com.github.mtkennerly.ludusavi.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,14 @@
</keywords>
<screenshots>
<screenshot type="default">
<image type="source">https://raw.githubusercontent.com/mtkennerly/ludusavi/v0.24.1/docs/sample-gui-linux.png</image>
<image type="source">https://raw.githubusercontent.com/mtkennerly/ludusavi/v0.24.2/docs/sample-gui-linux.png</image>
<caption>Graphical user interface</caption>
</screenshot>
</screenshots>
<content_rating type="oars-1.1" />
<launchable type="desktop-id">com.github.mtkennerly.ludusavi.desktop</launchable>
<releases>
<release version="0.24.2" date="2024-06-28"/>
<release version="0.24.1" date="2024-06-15"/>
<release version="0.24.0" date="2024-06-08"/>
<release version="0.23.0" date="2024-04-27"/>
Expand Down
278 changes: 243 additions & 35 deletions docs/schema/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ properties:
default: []
type: array
items:
$ref: "#/definitions/RootsConfig"
$ref: "#/definitions/Root"
runtime:
default:
threads: ~
Expand Down Expand Up @@ -535,19 +535,248 @@ definitions:
type: integer
format: uint8
minimum: 0.0
RootsConfig:
type: object
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
description: Game store associated with the root.
default: other
allOf:
- $ref: "#/definitions/Store"
Root:
oneOf:
- type: object
required:
- store
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- ea
- type: object
required:
- store
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- epic
- type: object
required:
- store
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- gog
- type: object
required:
- store
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- gogGalaxy
- type: object
required:
- store
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- heroic
- type: object
required:
- store
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- legendary
- type: object
required:
- store
properties:
database:
description: "Full path to the Lutris `pga.db` file, if not contained within the main `path`."
default: ~
anyOf:
- $ref: "#/definitions/FilePath"
- type: "null"
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- lutris
- type: object
required:
- store
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- microsoft
- type: object
required:
- store
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- origin
- type: object
required:
- store
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- prime
- type: object
required:
- store
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- steam
- type: object
required:
- store
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- uplay
- type: object
required:
- store
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- otherHome
- type: object
required:
- store
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- otherWine
- type: object
required:
- store
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- otherWindows
- type: object
required:
- store
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- otherLinux
- type: object
required:
- store
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- otherMac
- type: object
required:
- store
properties:
path:
description: Where the root is located on your system.
default: ""
allOf:
- $ref: "#/definitions/FilePath"
store:
type: string
enum:
- other
Runtime:
type: object
properties:
Expand Down Expand Up @@ -606,27 +835,6 @@ definitions:
- name
- size
- status
Store:
type: string
enum:
- ea
- epic
- gog
- gogGalaxy
- heroic
- legendary
- lutris
- microsoft
- origin
- prime
- steam
- uplay
- otherHome
- otherWine
- otherWindows
- otherLinux
- otherMac
- other
Theme:
description: Visual theme.
type: string
Expand Down
4 changes: 2 additions & 2 deletions src/lang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ impl Language {
match self {
Language::Arabic => 97,
Language::ChineseSimplified => 97,
Language::ChineseTraditional => 15,
Language::ChineseTraditional => 25,
Language::Czech => 4,
Language::Dutch => 98,
Language::English => 100,
Expand All @@ -213,7 +213,7 @@ impl Language {
Language::Russian => 100,
Language::Spanish => 100,
Language::Thai => 24,
Language::Turkish => 20,
Language::Turkish => 21,
Language::Ukrainian => 42,
}
}
Expand Down

0 comments on commit ea7245e

Please sign in to comment.