feat(android): v1.9.3 — youtube_via_relay toggle in Android UI + CI retry fix

- PR #535 by @yyoyoian-pixel: Switch toggle for youtube_via_relay in
  Android Advanced settings, matching the desktop UI checkbox. Closes
  the parity gap that forced Android users to hand-edit config.json.
  Closes #520.

- ci(telegram-publish): --clobber on gh release download so retries
  survive partial downloads (caused the v1.9.2 telegram publish to
  fail; manually re-triggered).
This commit is contained in:
therealaleph
2026-04-30 19:58:23 +03:00
parent 1929f8e14b
commit 55c1256fe1
3 changed files with 8 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
<!-- see docs/changelog/v1.1.0.md for the file format: Persian, then `---`, then English. -->
• toggle `youtube_via_relay` در Android Advanced settings (PR [#535](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/pull/535) از @yyoyoian-pixel، closes [#520](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/issues/520)): تا قبل، desktop UI checkbox `youtube_via_relay` داشت ولی Android UI نه — کاربران Android مجبور بودن config.json رو دستی edit کنن (که بدون root کارش نشدنی بود). حالا Switch toggle در بخش Advanced settings در Android UI هست + match با desktop UI checkbox. شامل field `youtubeViaRelay` در `MhrvConfig` با JSON serialization (`youtube_via_relay` به‌عنوان wire format)، deserialization، + encode برای config-sharing. resources rشته EN + FA برای label + helper text. تغییر pure Android/Kotlin؛ بدون Rust impact.
• fix CI: `gh release download` در workflow Telegram publish با `--clobber` کار می‌کنه تا retries بعد از partial download کار کنه (no user impact، ولی v1.9.2 release برای Telegram channel به‌خاطر این bug fail شد + manual re-publish لازم شد).
---
`youtube_via_relay` toggle in Android Advanced settings (PR [#535](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/pull/535) by @yyoyoian-pixel, closes [#520](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/issues/520)): the desktop UI has had a `youtube_via_relay` checkbox for a while, but the Android UI was missing it — Android users had to hand-edit `config.json` (which is rootful on Android). Now there's a Switch toggle in the Advanced settings section matching the desktop UI checkbox. Adds `youtubeViaRelay` field to `MhrvConfig` with JSON serialization (`youtube_via_relay` as the wire-format key), deserialization, and config-sharing encode. EN + FA string resources for label and helper text. Pure Android/Kotlin change; no Rust impact.
• CI fix: `gh release download` in the Telegram publish workflow now uses `--clobber` so retries can survive partial downloads (no user impact, but the v1.9.2 release's Telegram channel publish failed because of this and required manual re-trigger).