DcDNS v1.0.5
DcDNS v1.0.5
What's New
Portable Mode & Custom Config Path: Introduced portable configuration support. DcDNS now checks for a local dcdns_portable.json config before falling back to Discord's standard userData directory. A "PORTABLE" status badge is displayed in the UI header when active.
Enhanced UI Resilience & Error Handling: Added comprehensive global error handlers and promise rejection wrappers across the WebUI to prevent silent interface freezes.
Scan & Verification Enhancements: Refactored the internal scanning pipeline. Added dynamic target age tracking to notify users if their Discord installation is out of date.
Expanded Pre-configured DoH Options: Streamlined DoH selection with updated preset buttons for popular privacy resolvers (Mullvad, Cloudflare, Google, Quad9, OpenDNS, Mullvad AdBlock).
UX & Animation Polish: Improved window transition animations, pulsing glow effects, and interactive UI component feedback for a cleaner overall look.
Privacy & Security
Added X-Client-Data stripping alongside X-Goog-Visitor-Id and X-Firebase-Client headers.
Reinforced TLS 1.2+ minimum version policy across all Electron session partitions (including persist:discord).
Updated DoH fallback configuration logic to prevent silent plaintext DNS fallbacks at the Chromium network level.
UX & Interface
Added a dynamic "PORTABLE" badge in the title bar when running from a portable directory.
Added stale build warnings (update-warning) indicating how many days ago the target Discord client was modified.
Added direct link buttons for the official website (https://dcdns.pages.dev/) and community Discord server in the Policy Agreement page.
Technical
Updated internal framework marker tags to APP_VERSION = "1.0.5".
Added helper function _get_exe_dir() for robust portable path discovery and local asset resolving (logo.png, logo.ico, logo.jpg).
Improved asynchronous message processing between Python (pywebview) and the EdgeChromium web renderer.
Refactored client scanning logic (_applyScanResults) to gracefully handle missing or partially updated Discord installations.
Executable Metadata: Compiled .exe binaries now include embedded application details, including version information, description, author/publisher metadata, and copyright details.
Note: Discord auto-updates overwrite the patched index.js. After any Discord update, re-run DcDNS and click Install to re-apply the patch with your saved settings.
