diff --git a/Cargo.lock b/Cargo.lock index 7cd5a4b..60fe1fd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -248,33 +248,13 @@ dependencies = [ "crypto-common", ] -[[package]] -name = "dirs" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3aa72a6f96ea37bbc5aa912f6788242832f75369bdfdadcb0e38423f100059" -dependencies = [ - "dirs-sys 0.3.7", -] - [[package]] name = "dirs" version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dece029acd3353e3a58ac2e3eb3c8d6c35827a892edc6cc4138ef9c33df46ecd" dependencies = [ - "dirs-sys 0.4.0", -] - -[[package]] -name = "dirs-sys" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" -dependencies = [ - "libc", - "redox_users", - "winapi", + "dirs-sys", ] [[package]] @@ -519,12 +499,6 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" -[[package]] -name = "hex-literal" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" - [[package]] name = "hex-literal" version = "0.4.1" @@ -709,14 +683,14 @@ checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5" [[package]] name = "libprotonup" -version = "0.4.2" +version = "0.5.0" dependencies = [ "anyhow", - "dirs 5.0.0", + "dirs", "flate2", "futures-util", "hex", - "hex-literal 0.4.1", + "hex-literal", "reqwest", "serde", "serde_json", @@ -727,27 +701,6 @@ dependencies = [ "xz2", ] -[[package]] -name = "libprotonup" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82a996dbc04e27773a2be79df67cde758da8664a46aee24b11df7dea991f940e" -dependencies = [ - "anyhow", - "dirs 4.0.0", - "flate2", - "futures-util", - "hex", - "hex-literal 0.3.4", - "reqwest", - "serde", - "serde_json", - "sha2", - "structopt", - "tar", - "xz2", -] - [[package]] name = "linux-raw-sys" version = "0.3.1" @@ -909,12 +862,12 @@ dependencies = [ [[package]] name = "protonup-rs" -version = "0.4.2" +version = "0.5.0" dependencies = [ "clap 4.2.1", "indicatif", "inquire", - "libprotonup 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "libprotonup", "tokio", ] diff --git a/README.md b/README.md index ef8c4cd..d9e3b5b 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,12 @@ Lib, CLI and GUI(wip) program to automate the installation and update of Proton-GE -> **NOTE**: This is not nearly as feature complete as the original Protonup. +> **NOTE**: This has no relations with the original ProtonUp project, and I am glad it was created. +> ~~This is not nearly as feature complete as the original Protonup~~. +> > I've create it because the original project had a few issues with its Python dependencies (that most likely got fixed already). > I wanted to to re-create it in rust, in a way it could be used as a lib and a CLI. -> ~~If this repo gets to a stable and feature rich state, I will publish it to Cargo and other repositories.~~ +> ~~If this repo gets to a stable and feature rich state, I will publish it to Cargo and other repositories.~~ I guess it got there! Thanks! [![asciicast](https://asciinema.org/a/rEO6Oipjn4rBkTWAtH1IFf3Xe.svg)](https://asciinema.org/a/rEO6Oipjn4rBkTWAtH1IFf3Xe) @@ -16,14 +18,20 @@ The default way is to simply invoke the cli, and navigate the text interface. protonup-rs ``` -To run a quick update and get the latest GE Proton version without navigating the TUI, you can use the quickUpdate flags: +To run a quick update and get the latest GE Proton version without navigating the TUI, you can use the quick flags: ```bash - -q, --quick-download Download latest directly - -f, --quick-download-flatpak Download latest for Steam FlatPak - -l, --lutris-quick-download Download latest Wine GE for Lutris + -q, --quick-download Download latest directly + -f, --quick-download-flatpak Download latest for Steam FlatPak + -l, --lutris-quick-download Download latest Wine GE for Lutris -L, --lutris-quick-download-flatpak Download latest Wine GE for Lutris FlatPak - -h, --help Print help + -h, --help Print help ``` +You can also combine them and get all the latest version running: + +```bash +protonup-rs -q -f -l -L +``` + --- ## Installing: diff --git a/libprotonup/Cargo.toml b/libprotonup/Cargo.toml index 9330aeb..9c3af25 100644 --- a/libprotonup/Cargo.toml +++ b/libprotonup/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libprotonup" -version = "0.4.2" +version = "0.5.0" edition = "2021" authors = ["Auyer "] repository = "https://github.com/auyer/protonup-rs" diff --git a/protonup-rs/Cargo.toml b/protonup-rs/Cargo.toml index c2694b4..c7bd4f3 100644 --- a/protonup-rs/Cargo.toml +++ b/protonup-rs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "protonup-rs" -version = "0.4.2" +version = "0.5.0" edition = "2021" authors = ["Auyer "] repository = "https://github.com/auyer/protonup-rs" @@ -12,9 +12,9 @@ description = "TUI Program for Custom Proton Download and installation written i [dependencies] # Use this to use the local changes in libprotonup. -libprotonup = { path = "../libprotonup" } +# libprotonup = { path = "../libprotonup" } # This is necessary to publish to crates.io -# libprotonup = { version = "0.4.2" } +libprotonup = { version = "0.5.0" } inquire = { version = "0.6", default-features = false, features = ["termion"] } indicatif = { version = "0.17", features = [ "improved_unicode",