from pathlib import Path p = Path('/opt/tylorindar-safelink/static/index.html') t = p.read_text(encoding='utf-8') old_desc = ("Windows için yerel proxy ve DPI bypass aracı. v1.5.10: kalıcı WFP kill-switch, " "VPN endpoint/DHCP/LAN izinleri, DNS 53-853 engeli, IPv6 catch-all ve WebRTC STUN blokları. " "GUI veya tünel servisi çökse bile filtreler çekirdekte kalır; --restore-only temizler. " "C1 cihaz kaydı ve C3 NetMode korunuyor. Rust/Tauri v2 + React + SpoofDPI 0.12.2.") new_desc = ("Windows için DPI bypass + AmneziaWG VPN. Kur, BAĞLAN'a bas: cihaz profili otomatik oluşur; " "token veya .conf gerekmez. Kalıcı WFP kill-switch, DNS/IPv6/STUN sızıntı koruması ve " "10 saniyede kendini onaran tünel. Rust/Tauri v2 + React + SpoofDPI 0.12.2.") if old_desc not in t: raise SystemExit('card desc not found') t = t.replace(old_desc, new_desc, 1) old_actions = ('