Files
ShadowsocksX-NG/ShadowsocksX-NG2/Domain
Qiu Yuzhou 973e8dd3b0 fix(proxy): tolerate legacy PAC preferredMode when decoding settings
An old settings.json with preferredMode "pac" made decodeIfPresent throw
on ProxyModeKind, which marked the whole snapshot unreadable and refused
to deploy. Decode the raw string and fall back to rule mode for unknown
values so retained fields (ports, timeout, exceptions) survive.

Closes the startup failure reported after #67.
2026-09-26 22:44:24 +08:00
..