步骤1:设置Update.exe的代理
桌面的Discord图标并不直接启动Discord.exe,而是先运行Update.exe程序进行升级检测,然后才启动Discord.exe,所以要先把Update.exe设置代理。
首先找到Update.exe的位置,一般在%appdata%..\Local\Discord。然后添加Update.exe.config文件,内容是
<?xml version="1.0" encoding="utf-8"?><configuration><configSections></configSections><system.net><!--Configure fiddler local proxy--><defaultProxy><proxy autoDetect="false" bypassonlocal="false" proxyaddress="http://127.0.0.1:1080" usesystemdefault="false" /></defaultProxy></system.net></configuration>
步骤2:设置Discord.exe的代理
打开Discord快捷方式,添加—a参数设置proxy-server
--a=--proxy-server=http://127.0.0.1:1080

