mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 21:06:09 +00:00
A Stores section (rail, under Games; Setup › Stores gate) with each store's sign-in, library, storefront shelves and a download queue. Each store has two tabs, Store and Library, and Library filters to All or Installed; libraries open from a saved copy and refresh in the background, with install sizes on every card. Games install to internal storage, or a card chosen at Install time, and are registered in the Steam client as non-Steam games, so they launch through Steam and droiddeck-proton from either the front end or the client. - Downloads: GOG, Epic and Amazon engines in Rust (app/src/main/rust/stores, built by cargo-ndk, nothing compiled in the tree). One adaptive fetch core with a latency brake, stalled-host handoff and every CDN a store offers. Per-stage progress, pause/resume, two-step cancel that deletes, failed downloads kept for retry, a foreground service with Wi-Fi and wake locks and notification controls. - Games tab: store source chips (Steam, GOG, Epic, Amazon, Custom) and store art. - Epic: per-launch exchange code from the app and from Steam's Play button, "Epic sign-in (EOS)", "Launch offline", and a game's web links opened in Android's browser for EOS consent. The EOS overlay crashed games and is left out. - Cloud saves (GOG, Epic): pulled before launch, pushed after the game or the session ends, no upload before a first download, conflicts never overwritten, backups both ways. - Logs: every store line redacted; the engine log goes to daily files.
42 lines
1.9 KiB
TOML
42 lines
1.9 KiB
TOML
[package]
|
|
name = "droiddeckstores"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
# The engines are a port of Bannerlator's bl-steam-client store modules (GPL-3.0-or-later, derived
|
|
# from WinNative's wn-steam-client; the Epic selection/verify rules trace back to GameNative and
|
|
# Legendary, both GPL-3.0). DroidDeck is GPL-3.0, so the crate keeps the licence it came with.
|
|
license = "GPL-3.0-or-later"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "droiddeckstores"
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
jni = "0.21"
|
|
# setpriority/gettid: every engine thread runs at nice +10 (see src/priority.rs). Already in the
|
|
# dependency tree through tokio, at the version Cargo.lock pins.
|
|
libc = "0.2"
|
|
# zlib inflate for GOG gen2 chunks and Epic chunk bodies. The pure-Rust backend keeps the .so free
|
|
# of a C zlib and of the NDK sysroot's libz, which the apk does not ship.
|
|
flate2 = { version = "1", default-features = false, features = ["rust_backend"] }
|
|
# The fetch core drives every request through ONE tokio current-thread runtime and feeds a sync
|
|
# process pool; rustls (via ring) is the TLS stack so there is no OpenSSL to cross-compile. `gzip`
|
|
# transparently inflates a CDN answer that comes back content-encoded. No `blocking` client: the
|
|
# three engines are async-fetch only.
|
|
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "gzip"] }
|
|
tokio = { version = "1", default-features = false, features = ["rt", "net", "time", "sync"] }
|
|
futures-util = { version = "0.3", default-features = false, features = ["std"] }
|
|
# preserve_order keeps JSON object keys in source order, as in Bannerlator, so the GOG depot plan
|
|
# walks a manifest's files in the order the manifest lists them (largest-first sorting happens
|
|
# after, explicitly).
|
|
serde_json = { version = "1", features = ["preserve_order"] }
|
|
# Epic chunks are SHA-1 verified, Amazon files SHA-256; GOG's MD5 is the in-tree md5_small.
|
|
sha1 = "0.10"
|
|
sha2 = "0.10"
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
lto = "thin"
|
|
strip = "symbols"
|