2f4f1c64d2
- Replace .map().unwrap_or(false) with .is_some_and()/.is_ok_and()
- Use path.display() instead of {:?} for user-facing messages
- Replace Option<Option<Vec<String>>> with GamescopeUpdate enum
- Replace manual parent-walking loops with .ancestors() iterators
- Simplify kill()/kill_all() signatures to return () instead of Result
- Use tokio::task::spawn_blocking instead of hand-rolled thread+oneshot
- Read /proc/self/status for UID instead of spawning id subprocess
- Build Exec= line directly in render_desktop instead of string-replace
- Bump PKGBUILD pkgrel to 6
49 lines
1.1 KiB
TOML
49 lines
1.1 KiB
TOML
[package]
|
|
name = "umutray"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Tray-based Wine launcher manager for Linux via umu/Proton-GE"
|
|
license = "MIT"
|
|
readme = "README.md"
|
|
repository = "https://git.aleshym.co/funman300/umutray"
|
|
keywords = ["wine", "proton", "umu", "tray", "launcher"]
|
|
categories = ["command-line-utilities", "games"]
|
|
|
|
[[bin]]
|
|
name = "umutray"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
# CLI argument parsing
|
|
clap = { version = "4", features = ["derive"] }
|
|
|
|
# Config serialisation
|
|
serde = { version = "1", features = ["derive"] }
|
|
toml = "0.8"
|
|
|
|
# GitHub API responses
|
|
serde_json = "1"
|
|
|
|
# Error handling
|
|
anyhow = "1"
|
|
|
|
# XDG config / data paths
|
|
directories = "5"
|
|
|
|
# Home directory lookup
|
|
dirs = "5"
|
|
|
|
# Terminal colour output
|
|
owo-colors = "4"
|
|
|
|
# System tray via D-Bus StatusNotifierItem (KDE, GNOME+AppIndicator, Xfce, etc.)
|
|
ksni = "0.2"
|
|
|
|
# HTTP for GE-Proton GitHub releases API
|
|
reqwest = { version = "0.12", features = ["blocking", "json"] }
|
|
|
|
# GUI for the setup wizard
|
|
iced = { version = "0.13", features = ["tokio"] }
|
|
iced_fonts = { version = "0.1", features = ["bootstrap"] }
|
|
tokio = { version = "1.52.1", features = ["rt"] }
|