mirror of
https://github.com/1andrevich/homeproxy-hiddify.git
synced 2026-08-06 15:26:05 +00:00
Introduce gh_fetch() in both core_mgmt.uc and luci.homeproxy: tries GitHub first, falls back to the mirror configured in homeproxy.config.github_mirror only if GitHub fails — so a healthy GitHub is never bypassed. For APK signing key fetches (hiddify and zapret2), skip the download entirely if the key is already present (pre-placed by a provisioning tool or a prior install), use a short 20s timeout so a throttled GitHub cannot hang the ubus call until timeout (exit 249), and fall back to --allow-untrusted if the key fetch still fails rather than blocking installation. |
||
|---|---|---|
| .. | ||
| scripts | ||
| homeproxy.default | ||