Compare commits

...

4 Commits
1.1.0 ... main

Author SHA1 Message Date
0d715f2fdd
update readme 2022-08-23 16:24:41 +03:00
2507c010c0
build(cli): remove unused deps 2022-01-23 04:06:07 +03:00
5c69f3ad5d
docs: update download link 2022-01-23 04:02:19 +03:00
cd04c5d78b
Merge pull request #1 from xzeldon/refactoring
refactor: refactoring code, separate crates
2022-01-23 03:51:24 +03:00
3 changed files with 10 additions and 10 deletions

3
Cargo.lock generated
View File

@ -43,12 +43,9 @@ version = "1.1.0"
dependencies = [ dependencies = [
"colored", "colored",
"core", "core",
"ctrlc",
"dirs", "dirs",
"embed-resource", "embed-resource",
"serde",
"serde_json", "serde_json",
"winapi",
] ]
[[package]] [[package]]

View File

@ -4,21 +4,30 @@ Convert and save photomode screenshots from Red Dead Redemption 2 to JPEG format
![Imgur](https://i.imgur.com/ZGbmHYd.png) ![Imgur](https://i.imgur.com/ZGbmHYd.png)
Mirror on my [<img src="https://git.zeldon.ru/assets/img/logo.svg" align="center" width="20" height="20"/> Git](https://git.zeldon.ru/zeldon/rdr2_screenshot_converter)
## QuickStart ## QuickStart
Just [download](https://github.com/xzeldon/rdr2_screenshot_converter/releases/download/1.0.0/rdr2_screenshot_converter.exe) the executable file from releases and run it. It will automatically find your screenshots and save them.
Just [download](https://github.com/xzeldon/rdr2_screenshot_converter/releases) the executable file from releases and run it. It will automatically find your screenshots and save them.
## Arguments ## Arguments
You can define a path for saving screenshots. To do this, open a command prompt, specify the path to the executable file and the path to save the screenshots. You can define a path for saving screenshots. To do this, open a command prompt, specify the path to the executable file and the path to save the screenshots.
``` ```
cli.exe C:\screenshots cli.exe C:\screenshots
``` ```
This command will save screenshots to ```C:\screenshots``` This command will save screenshots to ```C:\screenshots```
## Building ## Building
All instructions tested on Windows 10 Pro for workstations 19042.928. All instructions tested on Windows 10 Pro for workstations 19042.928.
You need: You need:
* [Rust](https://www.rust-lang.org) * [Rust](https://www.rust-lang.org)
``` ```
cargo build --release --bin cli cargo build --release --bin cli
``` ```

View File

@ -12,14 +12,8 @@ version = "1.1.0"
[dependencies] [dependencies]
colored = "2.0.0" colored = "2.0.0"
core = {path = "../core"} core = {path = "../core"}
ctrlc = {version = "3.0", features = ["termination"]}
dirs = "4.0.0" dirs = "4.0.0"
serde = {version = "1.0", features = ["derive"]}
serde_json = "1.0" serde_json = "1.0"
[target.'cfg(target_os="windows")'.dependencies.winapi]
features = ["consoleapi", "errhandlingapi", "fileapi", "handleapi", "processenv"]
version = "0.3"
[build-dependencies] [build-dependencies]
embed-resource = "1.6" embed-resource = "1.6"