Skip to content

Commit

Permalink
Release v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mtkennerly committed Jul 29, 2020
1 parent 3761d1d commit f35b755
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 18 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Unreleased
## v0.6.0 (2020-07-29)

* Added:
* Option to merge into an existing backup directory.
Expand All @@ -7,7 +7,8 @@
* Fixed:
* Registry values of type `EXPAND_SZ` and `MULTI_SZ` were converted to `SZ` when restored.
* Changed:
* On Windows, the program icon is now embedded in the executable.
* On Windows, the program icon is now embedded in the executable so that
you can see it in the file browser as well.

## v0.5.0 (2020-07-25)

Expand Down
6 changes: 3 additions & 3 deletions 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.5.0"
version = "0.6.0"
authors = ["mtkennerly <mtkennerly@gmail.com>"]
edition = "2018"
description = "Game save backup tool"
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,8 @@ If you are on Mac:
without actually performing it.
* You can press `back up` to perform the backup for real.
* If the target folder already exists, it will be deleted first,
then recreated.
<!--
However, if you've enabled the merge option, then it will not be deleted first.
-->
then recreated. However, if you've enabled the merge option,
then it will not be deleted first.
* Within the target folder, for every game with data to back up,
a subfolder will be created with the game's name encoded as
[Base64](https://en.wikipedia.org/wiki/Base64).
Expand Down Expand Up @@ -170,8 +168,9 @@ If you are on Mac:
### CLI
Run `ludusavi --help` for the full usage information.

<!--
When you use the `--api` flag, the output will have the following structure:
CLI mode defaults to a human-readable format, but you can switch to a
machine-readable JSON format with the `--api` flag. In that case, the output
will have the following structure:

* `errors` (optional, map):
* `someGamesFailed` (optional, boolean): Whether any games failed.
Expand Down Expand Up @@ -210,11 +209,11 @@ Example:
```json
{
"errors": {
"some_games_failed": true,
"someGamesFailed": true,
},
"overall": {
"totalGames": 2,
"totalBytes": 100,
"totalBytes": 150,
"processedGames": 1,
"processedBytes": 100,
},
Expand All @@ -234,13 +233,16 @@ Example:
},
"Game 2": {
"decision": "Ignored",
"files": {},
"files": {
"/games/game2/save.json": {
"bytes": 50
}
},
"registry": {}
}
}
}
```
-->

### Configuration
Ludusavi stores its configuration in `~/.config/ludusavi` (Windows: `C:/Users/<your-name>/.config/ludusavi`).
Expand All @@ -263,10 +265,8 @@ Here are the available settings (all are required unless otherwise noted):
This can be overridden in the CLI with `--path`.
* `ignoredGames` (optional, array of strings): Names of games to skip when backing up.
This can be overridden in the CLI by passing a list of games.
<!--
* `merge` (optional, boolean): Whether to merge save data into the target
directory rather than deleting the directory first. Default: false.
-->
* `restore` (map):
* `path` (string): Full path to a directory from which to restore data.
This can be overridden in the CLI with `--path`.
Expand Down
1 change: 1 addition & 0 deletions src/gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1624,6 +1624,7 @@ impl Application for App {
}
Message::EditedBackupMerge(enabled) => {
self.config.backup.merge = enabled;
self.config.save();
Command::none()
}
Message::EditedRestoreSource(text) => {
Expand Down

0 comments on commit f35b755

Please sign in to comment.