Compare commits

..

No commits in common. "main" and "1.1.0" have entirely different histories.
main ... 1.1.0

3 changed files with 10 additions and 10 deletions

3
Cargo.lock generated
View File

@ -43,9 +43,12 @@ 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,30 +4,21 @@ 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,8 +12,14 @@ 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"