Skip to content

Commit

Permalink
Merge pull request #5 from RainbowCookie32/custom_path
Browse files Browse the repository at this point in the history
egui: Allow picking a custom path for downloading updates
  • Loading branch information
RainbowCookie32 authored Apr 26, 2022
2 parents 9fa4a54 + c751be9 commit ef2d72b
Show file tree
Hide file tree
Showing 4 changed files with 388 additions and 59 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Rust Cache
uses: Swatinem/[email protected]
- name: Install egui deps
run: sudo apt update && sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev
run: sudo apt update && sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev libgtk-3-dev
- name: Build rusty-psn (linux-egui)
run: cargo build --release --no-default-features --features "egui"
- name: Move binary
Expand Down
222 changes: 217 additions & 5 deletions Cargo.lock

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

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ log = "0.4.16"
simplelog = "0.11.2"

clap = { version = "3.1.8", optional = true, features = ["derive"] }
eframe = { version = "0.17.0", features = ["persistence"], optional = true }
crossterm = { version = "0.23.2", optional = true }

rfd = { version = "0.8.2", optional = true }
eframe = { version = "0.17.0", features = ["persistence"], optional = true }

poll-promise = { version = "0.1.0", features = ["tokio"] }
serde = { version = "1.0.136", default-features = false, features = ["derive"] }
tokio = { version = "1.17.0", default-features = false, features = ["rt", "io-util", "macros", "fs"] }

[features]
default = ["egui"]
cli = ["clap", "crossterm"]
egui = ["eframe"]
egui = ["rfd", "eframe"]
Loading

0 comments on commit ef2d72b

Please sign in to comment.