Open Rudxain opened 1 week ago
Universal-Debloater-Alliance/universal-android-debloater-next-generation#627
src/main.rs:
src/main.rs
fn main() { println!("{:?}", dark_light::detect()); }
Cargo.toml:
Cargo.toml
[package] name = "tmp" version = "0.1.0" edition = "2021"
[dependencies] dark-light = "=1.1.1" # `cargo run`: "Light"
[dependencies] dark-light = "=1.0.0" # `cargo run`: "Dark" (correct)
The 2 variations of dependencies from Cargo.toml where tested on separate directories, for better isolation (no need for cargo update) and to avoid recompilation of recursive deps (although I tried to recycle target/)
dependencies
cargo update
target/
I experience this as well, dark-light version 1.1.1 returns an incorrect theme for detect I'm on Fedora 40, Gnome 46 on X11
Universal-Debloater-Alliance/universal-android-debloater-next-generation#627
src/main.rs
:Cargo.toml
:The 2 variations of
dependencies
fromCargo.toml
where tested on separate directories, for better isolation (no need forcargo update
) and to avoid recompilation of recursive deps (although I tried to recycletarget/
)