fix(vfs): V-04 — structured anti-leak shield rules and custom filter list

This commit is contained in:
2026-09-19 09:58:52 +02:00
parent 17908a64fe
commit 45572b7370
4 changed files with 355 additions and 30 deletions
+6
View File
@@ -110,6 +110,10 @@ enum Commands {
#[arg(long, default_value_t = false)]
no_anti_leak: bool,
/// Pfad zu einer Textdatei mit zusätzlichen Anti-Leak Filterregeln (V-04)
#[arg(long, value_name = "FILE")]
anti_leak_list: Option<PathBuf>,
/// Aktiviert den lautlosen Stealth-Modus (keine Banner, Pfade, URLs oder Fortschrittsausgaben)
#[arg(short, long, default_value_t = false)]
stealth: bool,
@@ -1618,6 +1622,7 @@ async fn run() -> Result<()> {
idle_timeout,
no_screen_lock,
no_anti_leak,
anti_leak_list,
stealth,
} => {
let drive_char = match drive {
@@ -1670,6 +1675,7 @@ async fn run() -> Result<()> {
idle_timeout,
lock_on_screen_lock,
anti_leak,
anti_leak_list.as_deref(),
stealth,
)
.await?;