Diving-Fish / maimaidx-prober

舞萌 DX 查分器
https://www.diving-fish.com/maimaidx/prober
MIT License
711 stars 53 forks source link

OSX can not revert proxy successfully #78

Closed xuyixin1996 closed 1 year ago

xuyixin1996 commented 1 year ago

OS Version:

❯ sw_vers
ProductName:        macOS
ProductVersion:     13.3.1
ProductVersionExtra:    (a)
BuildVersion:       22E772610a

The latest networksetup command requires param.

❯ networksetup --help | grep set | grep state
networksetup -setwebproxystate <networkservice> <on off>
networksetup -setsecurewebproxystate <networkservice> <on off>
networksetup -setsocksfirewallproxystate <networkservice> <on off>

Besides, since the tool set both http and https, need to revert for both as well

Diving-Fish commented 1 year ago

@realZnS